예제 #1
0
    public override void OnStartLocalPlayer()
    {
        base.OnStartLocalPlayer();

        StaticSyncUI.SetPlayer(this);
        spawnPosition = transform.position;
    }
예제 #2
0
 void Awake()
 {
     if (!instance)
     {
         instance = this;
     }
 }
예제 #3
0
 void Awake()
 {
     if (!instance) {
         instance = this;
     }
 }