void Start() { targetPos = toPosition.position; coinBooth = GetComponent <CoinBooth>(); if (coinBooth != null) { coinBooth.ManualBooth = true; } }
// Use this for initialization void Start() { _animator = GetComponent <Animator>(); booth = GetComponent <CoinBooth>(); }