void Start() { this.materials = new Material[] { this.blocks_opaque, this.blocks_translucent }; this.world = new World(); this.renderGlobal = new RenderGlobal(Camera.main); this.renderGlobal.setWorldAndLoad(this.world); this.world.addWorldProvider(this.renderGlobal); this.cube = new Cube(Vector3.zero, this.block_selector); }
public WorldRenderer(Arcodia game, World world, RenderGlobal renderer) { this.Arcodia = game; this.WorldObj = world; this.RenderGlobal = renderer; }