private void Recycle()
 {
     if (RecyclableComp)
     {
         RecyclableComp.Recycle();
     }
 }
示例#2
0
 void OnTriggerEnter(Collider other)
 {
     if (RecycleComp)
     {
         RecycleComp.Recycle();
     }
 }