Exemple #1
0
 void OnCollisionEnter(Collision other)
 {
     if (other.transform.CompareTag("Player"))
     {
         other.transform.SetParent(transform);
         // player.MountPlatformReset ();
     }
     player.ApplyPlatformVelocity(rb.velocity);
 }