private void Awake() { //grab all the buttonBehaviours and store in a list stateManager = GetComponent <StateManager>(); moveConfirmMenu = GetComponent <MoveConfirmMenu>(); ContinueUi = GetComponent <ContinueUI>(); }
// Use this for initialization void Start() { manager = GetComponent <StateManager>(); contUi = GetComponent <ContinueUI>(); }