public void Clone(CraneArchitect other) { this._logPrefab = other._logPrefab; this._logRenderer = other._logRenderer; this._maxLogScale = other._maxLogScale; this._craftStructure = other._craftStructure; this._logItemId = other._logItemId; this._aboveGround = other._aboveGround; }
public void OnBuilt(GameObject built) { CraneArchitect component = built.GetComponent <CraneArchitect>(); component._wasBuilt = true; component._aboveGround = this._aboveGround; component._bottomY = this._bottomY; if (this._craftStructure) { Craft_Structure craftStructure = this._craftStructure; craftStructure.OnBuilt = (Action <GameObject>)Delegate.Remove(craftStructure.OnBuilt, new Action <GameObject>(this.OnBuilt)); } }