- Added Crook intro themes, and integrated them into Round 2.

- Reorganised materials into more texture-oriented categories.
This commit is contained in:
Jamie Greunbaum
2025-06-18 03:07:14 -04:00
parent 5374cc5e1d
commit 7300259bf2
115 changed files with 2617 additions and 498 deletions
@@ -32,20 +32,26 @@ public class HostCardManager : UdonSharpBehaviour
public override void OnPickup()
{
Networking.SetOwner(Networking.LocalPlayer, gameObject);
_StoredJumpImpulse = Networking.LocalPlayer.GetJumpImpulse();
Networking.LocalPlayer.SetJumpImpulse(0.0f);
_IsBeingHeld = true;
if (gameObject != null)
{
Networking.SetOwner(Networking.LocalPlayer, gameObject);
_StoredJumpImpulse = Networking.LocalPlayer.GetJumpImpulse();
Networking.LocalPlayer.SetJumpImpulse(0.0f);
_IsBeingHeld = true;
}
base.OnPickup();
}
public override void OnDrop()
{
Networking.SetOwner(Networking.InstanceOwner, gameObject);
Networking.LocalPlayer.SetJumpImpulse(_StoredJumpImpulse);
_StoredJumpImpulse = 0.0f;
_IsBeingHeld = false;
if (gameObject != null)
{
Networking.SetOwner(Networking.InstanceOwner, gameObject);
Networking.LocalPlayer.SetJumpImpulse(_StoredJumpImpulse);
_StoredJumpImpulse = 0.0f;
_IsBeingHeld = false;
}
base.OnDrop();
}
@@ -97,7 +103,7 @@ public class HostCardManager : UdonSharpBehaviour
}
public HostCardInterfaceBase EnableHostCardDisplay(GameType Game, QuestionType Question)
public HostCardInterfaceBase EnableHostCardDisplay(RoundType Game, RoundSegmentType Question)
{
_BetweenRoundsInterface.gameObject.SetActive(false);
_MultipleChoiceInterface.gameObject.SetActive(false);
@@ -110,41 +116,41 @@ public class HostCardManager : UdonSharpBehaviour
switch (Game)
{
case GameType.LocateTheCrook:
case RoundType.LocateTheCrook:
{
switch (Question)
{
case QuestionType.MultipleChoice:
case RoundSegmentType.MultipleChoice:
_MultipleChoiceInterface.gameObject.SetActive(true);
return _MultipleChoiceInterface;
case QuestionType.LightningRound:
case RoundSegmentType.LightningRound:
_LightningRoundInterface.gameObject.SetActive(true);
return _LightningRoundInterface;
case QuestionType.DumpsterDive: break;
case QuestionType.TheChase:
case RoundSegmentType.DumpsterDive: break;
case RoundSegmentType.TheChase:
_TheChaseInterface.gameObject.SetActive(true);
return _TheChaseInterface;
case QuestionType.FinalRound:
case RoundSegmentType.FinalRound:
_FinalRoundInterface.gameObject.SetActive(true);
return _FinalRoundInterface;
case QuestionType.Tiebreaker:
case RoundSegmentType.Tiebreaker:
_BetweenRoundsInterface.gameObject.SetActive(true);
return _BetweenRoundsInterface;
}
} break;
case GameType.RecoverTheLoot:
case RoundType.RecoverTheLoot:
{
switch(Question)
{
case QuestionType.RecoverTheLootExplainer:
case RoundSegmentType.RecoverTheLootExplainer:
_RecoverTheLootExplainerInterface.gameObject.SetActive(true);
return _RecoverTheLootExplainerInterface;
case QuestionType.RecoverTheLoot:
case RoundSegmentType.RecoverTheLoot:
_RecoverTheLootInterface.gameObject.SetActive(true);
return _RecoverTheLootInterface;
}
} break;
case GameType.ChaseCarmen:
case RoundType.ChaseCarmen:
{
} break;