internal static _Push Push() { if (_PushFunc == null) { _PushFunc = (_Push)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnActionMap_push"), typeof(_Push)); } return _PushFunc; }
internal static _Push Push() { if (_PushFunc == null) { _PushFunc = (_Push)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnActionMap_push"), typeof(_Push)); } return(_PushFunc); }
/// <summary> /// On the specified api. /// </summary> /// <returns>The on.</returns> /// <param name="api">API.</param> public void On(API api) { apis.Add(api); switch (api) { case API.ITEMSTORE: Debug.Log("itemstore On"); ItemStore = new _ItemStore(); break; case API.PUSH: Debug.Log("Push On"); Push = new _Push(); break; case API.DATASTORE: Debug.Log("Datastore On"); Datastore = new _Datastore(); break; default: break; } }