protected override void OnSetInActive(UnityEngine.Object target) { base.OnSetInActive(target); if (!AlreadyPlaced) { PlaceElement obj = GetUnInstalledObj(contentFeature.ElementName, true); obj.QuickInstall(this); obj.SetInActive(this); } }
public override void OnAutoExecute(UnityEngine.Object node) { PlaceElement obj = GetUnInstalledObj(contentFeature.ElementName, true); if (Config.Instence.quickMoveElement && !ignorePass) { obj.QuickInstall(this); } else { obj.NormalInstall(this); } }
public override void PlaceObject(PlaceElement pickup) { Attach(pickup); pickup.QuickInstall(this); pickup.PickUpAble = false; }