private void Start() { if (actionsList.Count != amountsList.Count) { Debug.LogError("Amounts in actions list don't match!"); } actionList = FindObjectOfType <ActionList>(); arrowDisplay = FindObjectOfType <ActionArrowDisplay>(); }
// Start is called before the first frame update void Start() { actionsController = GetComponent <PlayerActions>(); arrowDisplay = GetComponent <ActionArrowDisplay>(); }
private void Awake() { actionsManager = FindObjectOfType <ActionManager>(); arrowDisplay = GetComponent <ActionArrowDisplay>(); animator = GetComponent <Animator>(); }