Esempio n. 1
0
    public override void OnStartLocalPlayer()
    {
        base.OnStartLocalPlayer();

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