internal static void setDirty(IntPtr thisPtr, int argc, string[] argv) { if (_setDirtyFunc == null) { _setDirtyFunc = (_setDirty)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_Component_setDirty"), typeof(_setDirty)); } _setDirtyFunc(thisPtr, argc, argv); }
internal static void setDirty(IntPtr thisPtr, [MarshalAs(UnmanagedType.LPWStr)] string objName, [MarshalAs(UnmanagedType.LPWStr)] string fileName) { if (_setDirtyFunc == null) { _setDirtyFunc = (_setDirty)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_PersistenceManager_setDirty"), typeof(_setDirty)); } _setDirtyFunc(thisPtr, objName, fileName); }