示例#1
0
 private void OnTriggerEnter(Collider other)
 {
     //Debug.Log("Pickup Ability OnTriggerEnter");
     if (other.CompareTag("Player"))
     {
         Platform player = other.gameObject.GetComponent <Platform>();
         player.AddAbility(this);
     }
 }