World.addSpaceGeometryMapping C# (CSharp) Method

addSpaceGeometryMapping() public method

public addSpaceGeometryMapping ( string respath ) : void
respath string
return void
    public void addSpaceGeometryMapping(string respath)
    {
        Debug.Log("loading scene(" + respath + ")...");
        UI.inst.info("scene(" + respath + "), spaceID=" + KBEngineApp.app.spaceID);
        if(terrain == null)
            terrain = Instantiate(terrainPerfab) as UnityEngine.GameObject;

        if(player)
            player.GetComponent<GameEntity>().entityEnable();
    }