private void Awake() { PC = FindObjectOfType <PlayerInputBroadcaster>(); PC.Subscribe(gameObject); PI = GetComponent <PlayerInput>(); }
// Start is called before the first frame update private void Awake() { PC = FindObjectOfType <PlayerInputBroadcaster>(); }