示例#1
0
 private void OnTriggerStay(Collider other)
 {
     if (other.CompareTag("Player"))
     {
         at.updateVariables(timer, collectable_type);
     }
 }
示例#2
0
文件: PickUp.cs 项目: Samsei/GPPUnity
 private void actions()
 {
     Instantiate(pickup_effect, transform.position, transform.rotation);
     at.updateVariables(timer, collectable_type);
     Destroy(gameObject);
 }