public GameObjectVector(GameObjectVector other) : this(SharpMochaPINVOKE.new_GameObjectVector__SWIG_1(GameObjectVector.getCPtr(other)), true) { if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } }
public GameObjectVectorEnumerator(GameObjectVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetSelectedObjects(GameObjectVector objs) { SharpMochaPINVOKE.EditorSubsystem_SetSelectedObjects(swigCPtr, GameObjectVector.getCPtr(objs)); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetRange(int index, GameObjectVector values) { SharpMochaPINVOKE.GameObjectVector_SetRange(swigCPtr, index, GameObjectVector.getCPtr(values)); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } }
public static GameObjectVector GetGameObjectsWithTag(string tag) { GameObjectVector ret = new GameObjectVector(SharpMochaPINVOKE.GameObject_GetGameObjectsWithTag(tag), true); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static GameObjectVector Repeat(GameObject value, int count) { global::System.IntPtr cPtr = SharpMochaPINVOKE.GameObjectVector_Repeat(GameObject.getCPtr(value), count); GameObjectVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new GameObjectVector(cPtr, true); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GameObjectVector GetRange(int index, int count) { global::System.IntPtr cPtr = SharpMochaPINVOKE.GameObjectVector_GetRange(swigCPtr, index, count); GameObjectVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new GameObjectVector(cPtr, true); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GameObjectVector GetObjectsInBounds() { GameObjectVector ret = new GameObjectVector(SharpMochaPINVOKE.IZone_GetObjectsInBounds(swigCPtr), true); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GameObjectVector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }