void Start() { _beliefSystem = FindObjectOfType <BeliefSystem>(); if (!_beliefSystem) { Debug.LogError("No BeliefSystem found!"); } }
void Start() { _beliefSystem = FindObjectOfType <BeliefSystem>(); if (!_beliefSystem) { Debug.LogError("No BeliefSystem found!"); } _pi = gameObject.GetComponent <PlayerInput>(); if (!_pi) { Debug.LogError("No PlayerInput found!"); } }