private void Start() { presenter = FindObjectOfType <CurrentStatePresenter>(); presenter.ShowCurrentState(playerState); }
private void Awake() { presenter = FindObjectOfType <CurrentStatePresenter>(); buttons = GameObject.FindGameObjectsWithTag("Button"); }