Beispiel #1
0
 public bool isCapturedBy(HelperInputObject obj)
 {
     if (!isCaptured())
     {
         return(false);
     }
     return(obj == captured);
 }
Beispiel #2
0
        public void add(iInputeerCandidate obj)
        {
            HelperInputObject io = obj.getIO();

            if (io == null)
            {
                Debug.LogWarning("trying to add object input of : '" + obj.getMono().name + "' but it doesn't have IO");
                return;
            }

            selection.Add(io);

            //Debug.Log("added : " + io.owner.name);
        }
Beispiel #3
0
        public void remove(iInputeerCandidate obj)
        {
            HelperInputObject io = obj.getIO();

            if (io == null)
            {
                return;
            }

            if (selection.IndexOf(io) < 0)
            {
                return;
            }

            selection.Remove(io);
            //Debug.Log("removed : " + io.owner.name);
        }