Risk card now properly syncs when placed at the front of the podium.
This commit is contained in:
parent
89caac10f0
commit
748516b2a0
@ -77,6 +77,7 @@ public class RiskCard : UdonSharpBehaviour
|
||||
if (_IsInHeldCollider)
|
||||
{
|
||||
_AnchorMode = CardAnchorMode.InRiskCardHolder;
|
||||
SetPickupable(false);
|
||||
_SetPosition_Synced();
|
||||
|
||||
RequestSerialization();
|
||||
@ -132,8 +133,6 @@ public class RiskCard : UdonSharpBehaviour
|
||||
|
||||
private void _SetPosition_Synced()
|
||||
{
|
||||
_ObjectSync.enabled = false;
|
||||
|
||||
switch (_AnchorMode)
|
||||
{
|
||||
case CardAnchorMode.AtSpawn:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user