Example #1
0
 protected void PlayAnimation(string st)
 {
     lck = GetComponent <Lock>();
     animator.Play(st);
     lck.AddListener(OnLockChange);
 }