Example #1
0
        protected override void OnRemoved(SanguineTile tile)
        {
            base.OnRemoved(tile);

            tile.OnPlaceableRemoved();
        }
Example #2
0
        /*
         * [NonSerialized]
         * private PlaceableData placeableData;
         *
         * public override GrandmaComponentData Data
         * {
         *  get => base.Data;
         *
         *  protected set
         *  {
         *      base.Data = value;
         *
         *      placeableData = Data as PlaceableData;
         *  }
         * }
         */

        protected override void OnPlaced(SanguineTile tile)
        {
            base.OnPlaced(tile);

            tile.OnPlaceableAdded(this);
        }