Nez.Collider.registerColliderWithPhysicsSystem C# (CSharp) 메소드

registerColliderWithPhysicsSystem() 공개 메소드

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