public void InitBlueprint(Blueprint blueprint) { this.Blueprint = blueprint; _2DWorld.Init(blueprint); _3DWorld.Init(blueprint); HasInitBlueprint = true; HasInit = HasInitGPU & HasInitBlueprint; }
public virtual void InitBlueprint(Blueprint blueprint) { this.Blueprint = blueprint; _2DWorld.Init(blueprint); _3DWorld.Init(blueprint); Light?.Init(blueprint); State.Rooms.Init(blueprint); HasInitBlueprint = true; HasInit = HasInitGPU & HasInitBlueprint; }
public virtual void InitBlueprint(Blueprint blueprint) { this.Blueprint = blueprint; _2DWorld.Init(blueprint); _3DWorld.Init(blueprint); GameThread.InUpdate(() => { Light?.Init(blueprint); State.Rooms.Init(blueprint); }); HasInitBlueprint = true; HasInit = HasInitGPU & HasInitBlueprint; }