private void Start() { _playerBurger = _playerBurgerObject.GetComponent <IBurgerViewable>(); _moneyHolder = GetComponent <MoneyHolder>(); LoadStates(); _currentState = _allStates[1]; _currentState.Activate(ChangeDebug); }
private void Awake() { _origin = _orderObject.localPosition; _orderImage = _orderObject.GetComponent <Image>(); _anim = _orderObject.GetComponent <Animator>(); _previewer = GetComponent <IBurgerViewable>(); _corners[0].OnObjectHoverMessage += DisplayHeader; _corners[1].OnObjectHoverMessage += DisplayHeader; _corners[2].OnObjectHoverMessage += DisplayHeader; }
private void Start() { _burger = _burgerViewableObject.GetComponent <IBurgerViewable>(); }
private void Awake() { _customerBurger = GetComponent <IBurgerViewable>(); _creator = GetComponent <CustomerRequestCreator>(); _presenterAnimator = new CustomerPresenter(); }