/// <summary> /// Initialises the component. /// </summary> public void Start() { this.ChunkLoader = new TerrainChunkLoader(); this.actorChunks = new Dictionary<Vector2I, ChunkUsage>(); // Get a reference to the related terrain components this.cTerrain = this.GetComponent<TerrainComponent>(); this.cTerrainRender = this.GetComponent<TerrainRenderComponent>(); }
/// <summary> /// Initialises the component. /// </summary> public void Start() { // Get a reference to the related terrain components this.cTerrain = this.GetComponent<TerrainComponent>(); this.cTerrainRender = this.GetComponent<TerrainRenderComponent>(); }