public bool isCapturedBy(HelperInputObject obj) { if (!isCaptured()) { return(false); } return(obj == captured); }
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); }
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); }