public registerColliderWithPhysicsSystem ( ) : void | ||
Résultat | void |
public virtual void registerColliderWithPhysicsSystem()
{
// entity could be null if properties such as origin are changed before we are added to an Entity
if( _isParentEntityAddedToScene )
{
Physics.addCollider( this );
_isColliderRegistered = true;
}
}