Files
sbox-public/engine/Sandbox.Engine/Scene/Events/IScenePhysicsEvents.cs
s&box team 71f266059a Open source release
This commit imports the C# engine code and game files, excluding C++ source code.

[Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
2025-11-24 09:05:18 +00:00

19 lines
445 B
C#

namespace Sandbox;
/// <summary>
/// Allows events before and after the the physics step
/// </summary>
public interface IScenePhysicsEvents : ISceneEvent<IScenePhysicsEvents>
{
/// <summary>
/// Called before the physics step is run. This is called pretty much
/// right after FixedUpdate.
/// </summary>
void PrePhysicsStep() { }
/// <summary>
/// Called after the physics step is run
/// </summary>
void PostPhysicsStep() { }
}