示例#1
0
 /// <summary>
 /// Unregisters a PhysicsMover from the system
 /// </summary>
 public static void UnregisterPhysicsMover(PhysicsMover mover)
 {
     PhysicsMovers.Remove(mover);
 }
示例#2
0
 /// <summary>
 /// This is called by the PhysicsMover in its Awake to setup references
 /// </summary>
 public void SetupMover(PhysicsMover mover)
 {
     Mover = mover;
 }
示例#3
0
        /// <summary>
        /// Registers a PhysicsMover into the system
        /// </summary>
        public static void RegisterPhysicsMover(PhysicsMover mover)
        {
            PhysicsMovers.Add(mover);

            mover.Rigidbody.interpolation = RigidbodyInterpolation.None;
        }