public override void OnAddedToEntity()
        {
            base.OnAddedToEntity();
            this.tentativeFarmGrid = this.GetComponent <TentativeFarmGrid>();

            this.AddTile(Tile.CreateTile(TileType.Grass, 0, 0, this));

            this.AttachInitTileEntitiesToScene();
        }
Exemple #2
0
 public TileHighlighter(TentativeFarmGrid farm) : base()
 {
     this.farm        = farm;
     this.RenderLayer = -1;
     this.Enabled     = false;
 }