コード例 #1
0
        public override void OnAddedToEntity()
        {
            base.OnAddedToEntity();
            this.tentativeFarmGrid = this.GetComponent <TentativeFarmGrid>();

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

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