Exemple #1
0
        public bool IsAiding(MiroModelV1 another)
        {
            bool bAid = (_Pump != null);

            if (bAid)
            {
                bAid = _Pump.IsGrown();
                MiroV1PumpBase pump =
                    _Pump.GetComponent <MiroV1PumpBase> ();
                bAid = bAid && (pump.GetModelAidee() == another);
            }
            return(bAid);
        }
Exemple #2
0
 public void AddPump(MiroV1PumpBase pump)
 {
     _Pump = pump;
     pump.transform.SetParent(_PumpParentTF);
 }