YellowSignUnity/Assets/ThirdParty/Networking/TrueSync/Physics/Jitter/Collision/CollisionSystemSAP.cs
/// <summary>
/// Add a body to the collision system. Adding a body to the world
/// does automatically add it to the collision system.
/// </summary>
/// <param name="body">The body to remove.</param>
Add a body to the collision system. Adding a body to the world
does automatically add it to the collision system.
Add a body to the collision system . Adding a body to the world does automatically add it to the collision system .
public override void AddEntity(IBroadphaseEntity body)
        {
            if (bodyList.Contains(body))
                throw new ArgumentException("The body was already added to the collision system.", "body");
            bodyList.Add(body);
        }
public override void AddEntity ( IBroadphaseEntity body ) { if ( bodyList . Contains ( body ) ) throw new ArgumentException ( " " , " " ) ; bodyList . Add ( body ) ; }
Add a body to the collision system.
Add a body to the collision system .
body
IBroadphaseEntity
The body to remove.
The body to remove .