- Reogranised case entry prefabs.

- Added a preliminary Detective Noir effect for appropriate video clues.
This commit is contained in:
2025-11-25 05:23:04 -05:00
parent a2e433d3fb
commit 209b184cb0
26 changed files with 2957 additions and 95 deletions
@@ -44,7 +44,7 @@ MonoBehaviour:
Data:
- Name:
Entry: 12
Data: 30
Data: 31
- Name:
Entry: 7
Data:
@@ -1663,25 +1663,25 @@ MonoBehaviour:
Data:
- Name: $k
Entry: 1
Data: _Modem
Data: _DetectiveNoirEffect
- Name: $v
Entry: 7
Data: 106|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: _Modem
Data: _DetectiveNoirEffect
- Name: <UserType>k__BackingField
Entry: 7
Data: 107|System.RuntimeType, mscorlib
- Name:
Entry: 1
Data: Modem, Assembly-CSharp
Data: UnityEngine.Animator, UnityEngine.AnimationModule
- Name:
Entry: 8
Data:
- Name: <SystemType>k__BackingField
Entry: 9
Data: 4
Data: 107
- Name: <SyncMode>k__BackingField
Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
@@ -1724,19 +1724,19 @@ MonoBehaviour:
Data:
- Name: $k
Entry: 1
Data: _ArrivalDisplay
Data: _Modem
- Name: $v
Entry: 7
Data: 110|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: _ArrivalDisplay
Data: _Modem
- Name: <UserType>k__BackingField
Entry: 7
Data: 111|System.RuntimeType, mscorlib
- Name:
Entry: 1
Data: ArrivalDisplay, Assembly-CSharp
Data: Modem, Assembly-CSharp
- Name:
Entry: 8
Data:
@@ -1785,25 +1785,25 @@ MonoBehaviour:
Data:
- Name: $k
Entry: 1
Data: _LightningRoundAnimator
Data: _ArrivalDisplay
- Name: $v
Entry: 7
Data: 114|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: _LightningRoundAnimator
Data: _ArrivalDisplay
- Name: <UserType>k__BackingField
Entry: 7
Data: 115|System.RuntimeType, mscorlib
- Name:
Entry: 1
Data: UnityEngine.Animator, UnityEngine.AnimationModule
Data: ArrivalDisplay, Assembly-CSharp
- Name:
Entry: 8
Data:
- Name: <SystemType>k__BackingField
Entry: 9
Data: 115
Data: 4
- Name: <SyncMode>k__BackingField
Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
@@ -1820,12 +1820,67 @@ MonoBehaviour:
Entry: 7
Data: 116|System.Collections.Generic.List`1[[System.Attribute, mscorlib]],
mscorlib
- Name:
Entry: 12
Data: 1
- Name:
Entry: 7
Data: 117|UnityEngine.SerializeField, UnityEngine.CoreModule
- Name:
Entry: 8
Data:
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: _LightningRoundAnimator
- Name: $v
Entry: 7
Data: 118|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: _LightningRoundAnimator
- Name: <UserType>k__BackingField
Entry: 9
Data: 107
- Name: <SystemType>k__BackingField
Entry: 9
Data: 107
- Name: <SyncMode>k__BackingField
Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
- Name:
Entry: 6
Data:
- Name:
Entry: 8
Data:
- Name: <IsSerialized>k__BackingField
Entry: 5
Data: true
- Name: _fieldAttributes
Entry: 7
Data: 119|System.Collections.Generic.List`1[[System.Attribute, mscorlib]],
mscorlib
- Name:
Entry: 12
Data: 3
- Name:
Entry: 7
Data: 117|UnityEngine.SpaceAttribute, UnityEngine.CoreModule
Data: 120|UnityEngine.SpaceAttribute, UnityEngine.CoreModule
- Name: height
Entry: 4
Data: 8
@@ -1834,7 +1889,7 @@ MonoBehaviour:
Data:
- Name:
Entry: 7
Data: 118|UnityEngine.HeaderAttribute, UnityEngine.CoreModule
Data: 121|UnityEngine.HeaderAttribute, UnityEngine.CoreModule
- Name: header
Entry: 1
Data: Effects
@@ -1843,7 +1898,7 @@ MonoBehaviour:
Data:
- Name:
Entry: 7
Data: 119|UnityEngine.SerializeField, UnityEngine.CoreModule
Data: 122|UnityEngine.SerializeField, UnityEngine.CoreModule
- Name:
Entry: 8
Data:
@@ -12,7 +12,8 @@ public enum PresentationMedium
{
VideoClue,
VideoMusicClue,
ACMECrimenetComputer
ACMECrimenetComputer,
DetectiveNoirEffect
}
@@ -48,6 +49,7 @@ public class GameManagerRound1 : GameManagerBase
[SerializeField] private CaseVideoSyncPlayer _VideoPlayer;
[SerializeField] private ACMECrimenetComputer _ACMECrimenetComputer;
[SerializeField] private VideoMusicClueSkateboard _VideoMusicClueSkateboard;
[SerializeField] private Animator _DetectiveNoirEffect;
[SerializeField] private Modem _Modem;
[SerializeField] private ArrivalDisplay _ArrivalDisplay;
@@ -247,6 +249,7 @@ public class GameManagerRound1 : GameManagerBase
case PresentationMedium.VideoClue: InitialiseVideoClue(Presentation); break;
case PresentationMedium.VideoMusicClue: InitialiseVideoMusicClue(Presentation); break;
case PresentationMedium.ACMECrimenetComputer: InitialiseACMECrimenetComputer(Presentation); break;
case PresentationMedium.DetectiveNoirEffect: InitialiseDetectiveNoirEffect(Presentation); break;
}
}
@@ -376,6 +379,30 @@ public class GameManagerRound1 : GameManagerBase
RequestSerialization();
}
private void InitialiseDetectiveNoirEffect(DataDictionary Presentation)
{
switch (_QuestionSubstage)
{
case 0:
_DetectiveNoirEffect.SetBool("Activate", true);
EnableInteraction("Play Video");
_QuestionSubstage++;
Debug.LogError("[GameManagerRound1] We should have just activated the noir effect.");
break;
case 1:
_VideoPlayer.PlayVideo = true;
EnableInteraction("Back To Colour");
_QuestionSubstage++;
Debug.LogError("[GameManagerRound1] We should have just started playing the video.");
break;
default:
_DetectiveNoirEffect.SetBool("Activate", false);
MultipleChoiceRevealQuestion();
Debug.LogError("[GameManagerRound1] The question is revealed.");
break;
}
}
private void MultipleChoiceRevealQuestion()
{
_QuestionSubstage = 0;