Fixed player being enabled while using grabber/being in network view

This commit is contained in:
Jan Groß committed 2021-06-13 04:26:33 +02:00
1 parent b5bf4a6d03
commit 3b1d880963
3 files changed
+447 -1064

No files matched your search

+1
View File
@@ -36,6 +36,7 @@ public class Switch : MonoBehaviour
gameManager.activeNode = debugNode.gameObject;
gameManager.SetActiveCamera(gameManager.networkCamera);
debugNode.SendMessage("SetActiveNode", debugNode.GetComponent<Node>());
gameManager.player.GetComponent<StarterAssets.FirstPersonController>().enabled = false;
}
}
}