Exemple #1
0
 protected override void OnSetInActive(UnityEngine.Object target)
 {
     base.OnSetInActive(target);
     if (!AlreadyPlaced)
     {
         PlaceElement obj = GetUnInstalledObj(contentFeature.ElementName, true);
         obj.QuickInstall(this);
         obj.SetInActive(this);
     }
 }
Exemple #2
0
        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);
            }
        }
Exemple #3
0
 public override void PlaceObject(PlaceElement pickup)
 {
     Attach(pickup);
     pickup.QuickInstall(this);
     pickup.PickUpAble = false;
 }