- Player platforms now function exactly as intended.
- Raised floor height of Round 1, and added wood beams around the edge. - Improved lightmap quality without increasing size.
This commit is contained in:
@@ -44,7 +44,7 @@ MonoBehaviour:
|
||||
Data:
|
||||
- Name:
|
||||
Entry: 12
|
||||
Data: 22
|
||||
Data: 23
|
||||
- Name:
|
||||
Entry: 7
|
||||
Data:
|
||||
@@ -1322,10 +1322,82 @@ MonoBehaviour:
|
||||
Data:
|
||||
- Name: $k
|
||||
Entry: 1
|
||||
Data: _FlashingScoreboardCounter
|
||||
Data: _SpawnPoint
|
||||
- Name: $v
|
||||
Entry: 7
|
||||
Data: 86|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
|
||||
- Name: <Name>k__BackingField
|
||||
Entry: 1
|
||||
Data: _SpawnPoint
|
||||
- Name: <UserType>k__BackingField
|
||||
Entry: 9
|
||||
Data: 57
|
||||
- Name: <SystemType>k__BackingField
|
||||
Entry: 9
|
||||
Data: 57
|
||||
- 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: 87|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
|
||||
- Name:
|
||||
Entry: 12
|
||||
Data: 3
|
||||
- Name:
|
||||
Entry: 7
|
||||
Data: 88|UnityEngine.SpaceAttribute, UnityEngine.CoreModule
|
||||
- Name: height
|
||||
Entry: 4
|
||||
Data: 8
|
||||
- Name:
|
||||
Entry: 8
|
||||
Data:
|
||||
- Name:
|
||||
Entry: 7
|
||||
Data: 89|UnityEngine.HeaderAttribute, UnityEngine.CoreModule
|
||||
- Name: header
|
||||
Entry: 1
|
||||
Data: Miscellaneous
|
||||
- Name:
|
||||
Entry: 8
|
||||
Data:
|
||||
- Name:
|
||||
Entry: 7
|
||||
Data: 90|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: _FlashingScoreboardCounter
|
||||
- Name: $v
|
||||
Entry: 7
|
||||
Data: 91|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
|
||||
- Name: <Name>k__BackingField
|
||||
Entry: 1
|
||||
Data: _FlashingScoreboardCounter
|
||||
@@ -1349,7 +1421,7 @@ MonoBehaviour:
|
||||
Data: false
|
||||
- Name: _fieldAttributes
|
||||
Entry: 7
|
||||
Data: 87|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
|
||||
Data: 92|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
|
||||
- Name:
|
||||
Entry: 12
|
||||
Data: 0
|
||||
|
||||
@@ -48,6 +48,11 @@ public class PlayerPodium : UdonSharpBehaviour
|
||||
[SerializeField] private TextMeshProUGUI _ScorecardUI;
|
||||
[SerializeField] private Image _ScorecardBackground;
|
||||
|
||||
[Space]
|
||||
|
||||
[Header("Miscellaneous")]
|
||||
[SerializeField] private Transform _SpawnPoint;
|
||||
|
||||
private int _FlashingScoreboardCounter = 0;
|
||||
|
||||
private const int MAX_FLASH_COUNTER = 8;
|
||||
@@ -74,6 +79,11 @@ public class PlayerPodium : UdonSharpBehaviour
|
||||
if (Player.playerId == _PlayerID)
|
||||
{
|
||||
AdjustPedestalHeight(Player);
|
||||
|
||||
if (Player == Networking.LocalPlayer)
|
||||
{
|
||||
Player.TeleportTo(_SpawnPoint.position, _SpawnPoint.rotation);
|
||||
}
|
||||
}
|
||||
|
||||
base.OnAvatarEyeHeightChanged(Player, PrevEyeHeightAsMeters);
|
||||
@@ -95,7 +105,6 @@ public class PlayerPodium : UdonSharpBehaviour
|
||||
PlayerName = Networking.LocalPlayer.displayName;
|
||||
_PlayerID = Networking.LocalPlayer.playerId;
|
||||
|
||||
_Pedestal.SetActive(true);
|
||||
AdjustPedestalHeight(Networking.LocalPlayer);
|
||||
|
||||
EnableOwnershipTransfer = false;
|
||||
@@ -110,7 +119,6 @@ public class PlayerPodium : UdonSharpBehaviour
|
||||
_PlayerID = -1;
|
||||
|
||||
EnableOwnershipTransfer = true;
|
||||
_Pedestal.SetActive(false);
|
||||
|
||||
RequestSerialization();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user