World.updatePosition C# (CSharp) 메소드

updatePosition() 공개 메소드

public updatePosition ( KBEngine entity ) : void
entity KBEngine
리턴 void
    public void updatePosition(KBEngine.Entity entity)
    {
        if(entity.renderObj == null)
            return;

        GameEntity gameEntity = ((UnityEngine.GameObject)entity.renderObj).GetComponent<GameEntity>();
        gameEntity.destPosition = entity.position;
        gameEntity.isOnGround = entity.isOnGround;
    }