Nez.Collider.registerColliderWithPhysicsSystem C# (CSharp) Method

registerColliderWithPhysicsSystem() public method

the parent Entity will call this at various times (when added to a scene, enabled, etc)
public registerColliderWithPhysicsSystem ( ) : void
return 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;
			}
		}