Example #1
0
        private void Start()
        {
            GameManager.instance.playerController = this;
            GameManager.instance.onTargetingMode.AddListener(OnTargetMode);
            GameManager.instance.onNormalMode.AddListener(OnNormalMode);
            GameManager.instance.onActionMode.AddListener(OnNormalMode);

            ActionManager.instance.onChainActivationEnabled.AddListener((b) => chainIndicator.SetActive(b));
            chainIndicator.SetActive(false);
            _targeter.Deactivate();
        }