Example #1
0
            internal static bool isPlaying(IntPtr thisPtr)
            {
                if (_isPlayingFunc == null)
                {
                    _isPlayingFunc =
                        (_isPlaying)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                               "fn_SFXSource_isPlaying"), typeof(_isPlaying));
                }

                return(_isPlayingFunc(thisPtr));
            }
Example #2
0
 set => SetProperty(ref _isPlaying, value);