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