public static Prefab MakePrefabFrom(GameObject arg0) { global::System.IntPtr cPtr = SharpMochaPINVOKE.Prefab_MakePrefabFrom(GameObject.getCPtr(arg0)); Prefab ret = (cPtr == global::System.IntPtr.Zero) ? null : new Prefab(cPtr, false); return(ret); }
public void LookAt(GameObject point) { SharpMochaPINVOKE.GameObject_LookAt__SWIG_1(swigCPtr, GameObject.getCPtr(point)); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } }
public GameObject GetAttachedObjFromWidgetObj(GameObject widgetObj) { global::System.IntPtr cPtr = SharpMochaPINVOKE.WidgetManager_GetAttachedObjFromWidgetObj(swigCPtr, GameObject.getCPtr(widgetObj)); GameObject ret = (cPtr == global::System.IntPtr.Zero) ? null : new GameObject(cPtr, false); return(ret); }
public void CreateInstance(GameObject gObj) { SharpMochaPINVOKE.Prefab_CreateInstance(swigCPtr, GameObject.getCPtr(gObj)); }
public void ClampObjectToBounds(GameObject gobj) { SharpMochaPINVOKE.IZone_ClampObjectToBounds(swigCPtr, GameObject.getCPtr(gobj)); }
public void Init(GameObject g) { SharpMochaPINVOKE.IZone_Init(swigCPtr, GameObject.getCPtr(g)); }
public GameObject DragObject_DoRaycast(MochaVec4 CamPos, MochaVec4 Mouse, GameObject obj, float arg3) { global::System.IntPtr cPtr = SharpMochaPINVOKE.PhysicEngine_DragObject_DoRaycast(swigCPtr, MochaVec4.getCPtr(CamPos), MochaVec4.getCPtr(Mouse), GameObject.getCPtr(obj), arg3); GameObject ret = (cPtr == global::System.IntPtr.Zero) ? null : new GameObject(cPtr, false); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GameObject MakeNewGameObject(GameObject obj, bool addToState, BaseState state) { global::System.IntPtr cPtr = SharpMochaPINVOKE.ObjectFactory_MakeNewGameObject__SWIG_3(swigCPtr, GameObject.getCPtr(obj), addToState, BaseState.getCPtr(state)); GameObject ret = (cPtr == global::System.IntPtr.Zero) ? null : new GameObject(cPtr, false); return(ret); }