示例#1
0
 void OnTriggerEnter(Collider other)
 {
     rb = other.GetComponent <Rigidbody>();
     if (rb != null)
     {
         platform.AddToPlatform(rb);
     }
 }