public override void Initialize() { camera = new PlatformCamera(Core.screen.size); Core.mainCamera = camera; // See "UnityBootstrap.Update()" method Core.graphics.ClearAuto(true, Color32.black); testtexture = Core.resource.LoadTexture("Sprites/Blender_UV"); testmaterial = Core.resource.CreateMaterial("Sprites/Default"); testmaterial.Set("_MainTex", testtexture); testmaterial2 = Core.resource.CreateMaterial("Lines/Colored Blended"); tilemap = Core.resource.LoadTileMap("Tilemaps/Test"); }
public TileMapMeshChunkGenerator(TileMap tileMap, TileLayer tileLayer, TileSet tileSet) { this.tileMap = tileMap; this.tileLayer = tileLayer; this.tileSet = tileSet; }