private Queue <byte> moveQueue; // At max 2 long private void Awake() { Ongoing = false; manager = GetComponent <NetGameManager>(); framesPerStep = manager.framesPerStep; moveQueue = new Queue <byte>(); }
private void Awake() { if (instance == null) { instance = this; name = "GameManager"; PV = GetComponent <PhotonView>(); } else { Destroy(this.gameObject); } }
void Start() { manager = GetComponent <NetGameManager>(); node = manager.Node; }
public void Awake() { singleton = this; }