internal static _OnLoad OnLoad() { if (_OnLoadFunc == null) { _OnLoadFunc = (_OnLoad)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "cbPrefab_onLoad"), typeof(_OnLoad)); } return(_OnLoadFunc); }
internal static _OnLoad OnLoad() { if (_OnLoadFunc == null) { _OnLoadFunc = (_OnLoad)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "cbPrefab_onLoad"), typeof(_OnLoad)); } return(_OnLoadFunc); }