Esempio n. 1
0
 public void RemoveGame()
 {
     if (_game != null)
     {
         SocketAttacher socketAttacher = GetComponent <SocketAttacher>();
         socketAttacher.DetachFromGameSocket(_game);
         socketAttacher.MoveToDropSocket(_game);
     }
     _game        = null;
     _currAbility = null;
     animator.SetBool("Unhappy", false);
     animator.SetBool("Working", false);
 }
Esempio n. 2
0
 // Use this for initialization
 void Start()
 {
     socketAttacher = GetComponent <SocketAttacher>();
     animator       = GetComponentInChildren <Animator>();
     throwAudio     = GetComponent <AudioSource>();
 }