Example #1
0
 public void Clone(GardenArchitect other)
 {
     this._logPrefab      = other._logPrefab;
     this._logRenderer    = other._logRenderer;
     this._maxLogScale    = other._maxLogScale;
     this._craftStructure = other._craftStructure;
     this._logItemId      = other._logItemId;
 }
Example #2
0
        private void OnBuilt(GameObject built)
        {
            GardenArchitect component = built.GetComponent <GardenArchitect>();

            component._wasBuilt = true;
            component._size     = this._size;
            Craft_Structure craftStructure = this._craftStructure;

            craftStructure.OnBuilt = (Action <GameObject>)Delegate.Remove(craftStructure.OnBuilt, new Action <GameObject>(this.OnBuilt));
        }