Пример #1
0
 private void EndMovement()
 {
     SetVelocityDown(0);
     m_pieceMovement.RemoveCallbacks();
     Destroy(m_pieceMovement);//?
     m_rigidbody.useGravity = true;
     if (m_gameManager != null)
     {
         m_gameManager.OnCollisionDetection();
     }
 }