public static void Remove(this TacticsSceneCamera.AllRange.Group self, GameObject value) { if (self.gobjs == null) { return; } List <GameObject> gameObjectList = new List <GameObject>((IEnumerable <GameObject>)self.gobjs); gameObjectList.Remove(value); self.gobjs = gameObjectList.ToArray(); }
public static bool HasObject(this TacticsSceneCamera.AllRange.Group self, GameObject value) { if (self.gobjs != null) { for (int index = 0; index < self.gobjs.Length; ++index) { if (Object.op_Equality((Object)self.gobjs[index], (Object)value)) { return(true); } } } return(false); }