Exemplo n.º 1
0
            internal static bool tag(IntPtr thisPtr, [MarshalAs(UnmanagedType.LPWStr)] string assetId, [MarshalAs(UnmanagedType.LPWStr)] string tagName)
            {
                if (_tagFunc == null)
                {
                    _tagFunc =
                        (_tag)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                         "fn_AssetTagsManifest_tag"), typeof(_tag));
                }

                return(_tagFunc(thisPtr, assetId, tagName));
            }
Exemplo n.º 2
0
 set => SetProperty(ref _tag, value);