void Clean()

robot_2Generated
code_blocksInput

Description

The Clean method is part of the Sandbox.Physics.CollisionRules class. It is used to remove duplicate entries and perform other cleanup operations within the collision rules. This method is marked as obsolete, indicating that it may be removed in future versions and should be avoided in new code.

Usage

Since the Clean method is marked as obsolete, it is recommended to avoid using it in new implementations. If you need to perform cleanup operations on collision rules, consider looking for alternative methods or approaches provided by the API.

Example

// Example usage of the Clean method (not recommended due to obsolescence)
CollisionRules collisionRules = new CollisionRules();
collisionRules.Clean();

// Note: This method is obsolete and should be avoided in new code.