public void Setup(InstinctManager instinctManager) { this.instinctManager = instinctManager; timer.Setup(instinctManager); roundNumber.Setup(instinctManager); for (int i = 0; i < playerAmmoBars.Length; i++) { playerAmmoBars[i].Setup(instinctManager, i); } for (int i = 0; i < equipmentBars.Length; i++) { equipmentBars[i].Setup(instinctManager, i); } Canvas drawCanvas = gameObject.GetComponent <Canvas>(); drawCanvas.worldCamera = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <Camera>(); drawCanvas.planeDistance = 1; ReloadAll(); }
public StateInitializing(InstinctManager manager) : base(manager) { }
private protected InstinctGameState(InstinctManager manager) => (this.manager) = (manager);