public CreateTileTask(TileProducer owner, int level, int tx, int ty, List <TileStorage.Slot> slot) { m_owner = owner; m_level = level; m_tx = tx; m_ty = ty; m_slot = slot; }
public CreateTileTask(TileProducer owner, int level, int tx, int ty, List<TileStorage.Slot> slot) { m_owner = owner; m_level = level; m_tx = tx; m_ty = ty; m_slot = slot; }
public override void Start() { base.Start(); m_producer = GetComponent <TileProducer>(); m_terrainNode = m_terrainNodeGO.GetComponent <TerrainNode>(); m_uniforms = new Uniforms(m_producer.GetName()); m_tileFilters = GetComponents <TileFilter>(); }
public void InsertProducer(int id, TileProducer producer) { if (m_producers.ContainsKey(id)) { Debug.Log("Proland::TileCache::InsertProducer - Producer id already inserted"); } else { m_producers.Add(id, producer); } }
public void InsertProducer(int id, TileProducer producer) { if(m_producers.ContainsKey(id)) { Debug.Log("Proland::TileCache::InsertProducer - Producer id already inserted"); } else { m_producers.Add(id, producer); } }