docs: updated physics interface delta parameter comment
This commit is contained in:
parent
f5fbd4e5ef
commit
fbdea47dc7
@ -10,6 +10,6 @@ public interface IPhysicsUpdate : IBehaviour
|
||||
/// <summary>
|
||||
/// Updates the physics state of the object based on the elapsed time since the last update.
|
||||
/// </summary>
|
||||
/// <param name="delta">The time elapsed since the last physics update, typically in seconds.</param>
|
||||
/// <param name="delta">The time elapsed since the last physics update.</param>
|
||||
void PhysicsUpdate(float delta);
|
||||
}
|
||||
|
@ -10,6 +10,6 @@ public interface IPostPhysicsUpdate : IBehaviour
|
||||
/// <summary>
|
||||
/// Execute logic that should occur after the physics simulation has been updated.
|
||||
/// </summary>
|
||||
/// <param name="delta">The time elapsed since the last physics update, typically in seconds.</param>
|
||||
/// <param name="delta">The time elapsed since the last physics update.</param>
|
||||
void PostPhysicsUpdate(float delta);
|
||||
}
|
||||
|
@ -10,6 +10,6 @@ public interface IPrePhysicsUpdate : IBehaviour
|
||||
/// <summary>
|
||||
/// Execute logic that should occur before the physics simulation is updated.
|
||||
/// </summary>
|
||||
/// <param name="delta">The time elapsed since the last physics update, typically in seconds.</param>
|
||||
/// <param name="delta">The time elapsed since the last physics update.</param>
|
||||
void PrePhysicsUpdate(float delta);
|
||||
}
|
||||
|
@ -187,6 +187,7 @@ public class PhysicsEngine2D : Behaviour, IPhysicsEngine2D
|
||||
{
|
||||
physicsPreUpdateCollector.Assign(universe);
|
||||
physicsUpdateCollector.Assign(universe);
|
||||
physicsIterationCollector.Assign(universe);
|
||||
physicsPostUpdateCollector.Assign(universe);
|
||||
colliderCollector.Assign(universe);
|
||||
rigidBodyCollector.Assign(universe);
|
||||
@ -198,6 +199,7 @@ public class PhysicsEngine2D : Behaviour, IPhysicsEngine2D
|
||||
{
|
||||
physicsPreUpdateCollector.Unassign();
|
||||
physicsUpdateCollector.Unassign();
|
||||
physicsIterationCollector.Unassign();
|
||||
physicsPostUpdateCollector.Unassign();
|
||||
colliderCollector.Unassign();
|
||||
rigidBodyCollector.Unassign();
|
||||
|
Loading…
x
Reference in New Issue
Block a user