Example #1
0
 void OnTriggerEnter(Collider other)
 {
     if (available && other.gameObject.tag == "Player")
     {
         _hand = other.gameObject.GetComponent("Player_Mount") as Player_Mount;
         _hand.MountObject(1, sword, swordWeaponTrigger);
         Player_Animations.instance.anim.SetBool("sword", true);
     }
 }
 void Start()
 {
     Instance = this;
 }