- Improved camera switcher enable/disable code.
- Added new round 1 switchers, and fixed overlap issues with the existing ones. - Improved camera switch buttons on the host panel. - Potato Mode button on the camera host panel now toggles properly. - Potato Mode button renamed to the more appropriate Performance button. - Glass shatter window effect now works from both directions. - Round 1 window looks much prettier. - Added the ability to scroll through overflowing text on the host card. - Improved scrolling on the credits panel.
This commit is contained in:
@@ -44,7 +44,7 @@ MonoBehaviour:
|
||||
Data:
|
||||
- Name:
|
||||
Entry: 12
|
||||
Data: 20
|
||||
Data: 22
|
||||
- Name:
|
||||
Entry: 7
|
||||
Data:
|
||||
@@ -1166,16 +1166,70 @@ MonoBehaviour:
|
||||
Data:
|
||||
- Name: $k
|
||||
Entry: 1
|
||||
Data: _SelectedTabColour
|
||||
Data: _PotatoModeImage
|
||||
- Name: $v
|
||||
Entry: 7
|
||||
Data: 72|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
|
||||
- Name: <Name>k__BackingField
|
||||
Entry: 1
|
||||
Data: _SelectedTabColour
|
||||
Data: _PotatoModeImage
|
||||
- Name: <UserType>k__BackingField
|
||||
Entry: 9
|
||||
Data: 25
|
||||
- Name: <SystemType>k__BackingField
|
||||
Entry: 9
|
||||
Data: 25
|
||||
- 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: 73|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
|
||||
- Name:
|
||||
Entry: 12
|
||||
Data: 1
|
||||
- Name:
|
||||
Entry: 7
|
||||
Data: 74|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: SELECTED_TAB_COLOUR
|
||||
- Name: $v
|
||||
Entry: 7
|
||||
Data: 75|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
|
||||
- Name: <Name>k__BackingField
|
||||
Entry: 1
|
||||
Data: SELECTED_TAB_COLOUR
|
||||
- Name: <UserType>k__BackingField
|
||||
Entry: 7
|
||||
Data: 73|System.RuntimeType, mscorlib
|
||||
Data: 76|System.RuntimeType, mscorlib
|
||||
- Name:
|
||||
Entry: 1
|
||||
Data: UnityEngine.Color, UnityEngine.CoreModule
|
||||
@@ -1184,7 +1238,7 @@ MonoBehaviour:
|
||||
Data:
|
||||
- Name: <SystemType>k__BackingField
|
||||
Entry: 9
|
||||
Data: 73
|
||||
Data: 76
|
||||
- Name: <SyncMode>k__BackingField
|
||||
Entry: 7
|
||||
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
|
||||
@@ -1199,7 +1253,55 @@ MonoBehaviour:
|
||||
Data: false
|
||||
- Name: _fieldAttributes
|
||||
Entry: 7
|
||||
Data: 74|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
|
||||
Data: 77|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
|
||||
- Name:
|
||||
Entry: 12
|
||||
Data: 0
|
||||
- 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: POTATO_TOGGLED_ON_COLOUR
|
||||
- Name: $v
|
||||
Entry: 7
|
||||
Data: 78|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
|
||||
- Name: <Name>k__BackingField
|
||||
Entry: 1
|
||||
Data: POTATO_TOGGLED_ON_COLOUR
|
||||
- Name: <UserType>k__BackingField
|
||||
Entry: 9
|
||||
Data: 76
|
||||
- Name: <SystemType>k__BackingField
|
||||
Entry: 9
|
||||
Data: 76
|
||||
- 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: false
|
||||
- Name: _fieldAttributes
|
||||
Entry: 7
|
||||
Data: 79|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
|
||||
- Name:
|
||||
Entry: 12
|
||||
Data: 0
|
||||
|
||||
@@ -45,8 +45,10 @@ public class HostPanelInterface : UdonSharpBehaviour
|
||||
[SerializeField] private CaseManager _CaseManager;
|
||||
[SerializeField] private PlayerPodium[] _PlayerPodiums;
|
||||
[SerializeField] private CameraSystem_Console _CameraConsole;
|
||||
[SerializeField] private Image _PotatoModeImage;
|
||||
|
||||
private readonly Color _SelectedTabColour = new Color(0.0f, 0.5f, 0.0f);
|
||||
private readonly Color SELECTED_TAB_COLOUR = new Color(0.0f, 0.5f, 0.0f);
|
||||
private readonly Color POTATO_TOGGLED_ON_COLOUR = new Color(0.5f, 0.0f, 0.0f);
|
||||
|
||||
|
||||
public void ShowPlayersAdminView()
|
||||
@@ -54,7 +56,7 @@ public class HostPanelInterface : UdonSharpBehaviour
|
||||
_GameConfigPanel.SetActive(true);
|
||||
_CamerasPanel.SetActive(false);
|
||||
|
||||
_GameConfigButtonImage.color = _SelectedTabColour;
|
||||
_GameConfigButtonImage.color = SELECTED_TAB_COLOUR;
|
||||
_CamerasButtonImage.color = Color.white;
|
||||
|
||||
_GameConfigButtonText.color = Color.white;
|
||||
@@ -67,7 +69,7 @@ public class HostPanelInterface : UdonSharpBehaviour
|
||||
_CamerasPanel.SetActive(true);
|
||||
|
||||
_GameConfigButtonImage.color = Color.white;
|
||||
_CamerasButtonImage.color = _SelectedTabColour;
|
||||
_CamerasButtonImage.color = SELECTED_TAB_COLOUR;
|
||||
|
||||
_GameConfigButtonText.color = Color.black;
|
||||
_CamerasButtonText.color = Color.white;
|
||||
@@ -79,7 +81,7 @@ public class HostPanelInterface : UdonSharpBehaviour
|
||||
_Round2Panel.SetActive(false);
|
||||
_Round3Panel.SetActive(false);
|
||||
|
||||
_Round1ButtonImage.color = _SelectedTabColour;
|
||||
_Round1ButtonImage.color = SELECTED_TAB_COLOUR;
|
||||
_Round2ButtonImage.color = Color.white;
|
||||
_Round3ButtonImage.color = Color.white;
|
||||
|
||||
@@ -94,7 +96,7 @@ public class HostPanelInterface : UdonSharpBehaviour
|
||||
_Round3Panel.SetActive(false);
|
||||
|
||||
_Round1ButtonImage.color = Color.white;
|
||||
_Round2ButtonImage.color = _SelectedTabColour;
|
||||
_Round2ButtonImage.color = SELECTED_TAB_COLOUR;
|
||||
_Round3ButtonImage.color = Color.white;
|
||||
|
||||
_Round1ButtonText.color = Color.black;
|
||||
@@ -109,7 +111,7 @@ public class HostPanelInterface : UdonSharpBehaviour
|
||||
|
||||
_Round1ButtonImage.color = Color.white;
|
||||
_Round2ButtonImage.color = Color.white;
|
||||
_Round3ButtonImage.color = _SelectedTabColour;
|
||||
_Round3ButtonImage.color = SELECTED_TAB_COLOUR;
|
||||
|
||||
_Round1ButtonText.color = Color.black;
|
||||
_Round2ButtonText.color = Color.black;
|
||||
@@ -250,4 +252,9 @@ public class HostPanelInterface : UdonSharpBehaviour
|
||||
{
|
||||
_CameraConsole.SendLiveCamera6();
|
||||
}
|
||||
|
||||
public void TogglePotato()
|
||||
{
|
||||
_PotatoModeImage.color = _CameraConsole.TogglePotato() ? POTATO_TOGGLED_ON_COLOUR : Color.white;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user