This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using UnityEditor; | |
using UnityEngine; | |
public static class TransformBoneHelpers | |
{ | |
private static readonly ulong s_boneFlags; | |
private static readonly int s_boneCount; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.CodeAnalysis; | |
using Microsoft.CodeAnalysis.CSharp; | |
using Microsoft.CodeAnalysis.CSharp.Syntax; | |
using Microsoft.CodeAnalysis.Diagnostics; | |
using System.Collections.Immutable; | |
using System.Linq; | |
namespace ApiUsageAnalyzer | |
{ | |
[DiagnosticAnalyzer(LanguageNames.CSharp)] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Diagnostics; | |
using UdonSharp; | |
using UnityEngine; | |
namespace Ophura | |
{ | |
using Debug = UnityEngine.Debug; | |
[UdonBehaviourSyncMode(BehaviourSyncMode.None)] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Runtime.CompilerServices; | |
using System.Runtime.InteropServices; | |
internal static unsafe partial class VirtualMemory | |
{ | |
internal const uint Commit = 0x1000; | |
internal const uint Reserve = 0x2000; | |
internal const uint Release = 0x8000; | |
internal const uint PageExecuteReadWrite = 0x40; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// file: limsim/main.h | |
#pragma once | |
#include <sdkddkver.h> | |
#include <windows.h> | |
#define UNREFERENCED_PARAMETERS(...) (VOID)(__VA_ARGS__) | |
INT WINAPI wWinMain(_In_ HMODULE Application, _In_opt_ HMODULE _, | |
_In_ PWSTR Arguments, _In_ INT WindowState); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Net; | |
using System.Runtime.CompilerServices; | |
using Tests; | |
using VRChat.API.Api; | |
using VRChat.API.Client; | |
using VRChat.API.Model; | |
internal static class Program | |
{ | |
private const string GroupName = "y2k"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Runtime.InteropServices; | |
public static class ArrayExtensions_Dotnet | |
{ | |
#if NET5_0_OR_GREATER | |
public static unsafe int GetElementSize(this Array array) | |
{ | |
fixed (void* baseAddress = &MemoryMarshal.GetArrayDataReference(array)) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// from: https://gist.github.com/noisecrime/3cb57c2618c7ade9d4398fe7f3835e34 | |
using UnityEditor; | |
using UnityEngine; | |
/// <summary> | |
/// NoiseCrimeStudio OneShots are single scripts that provide specific functionality. | |
/// </summary> | |
namespace NoiseCrimeStudios.OneShot.Editor | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace AteChan.co | |
{ | |
using Autodesk.Fbx; | |
using UnityEditor; | |
internal static class BinaryFbxExporter | |
{ | |
[MenuItem("Tools/Convert FBX To Binary")] | |
private static void ConvertToBinary() | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Autodesk.Fbx; | |
using UnityEditor; | |
using UnityEditor.UIElements; | |
using UnityEngine; | |
using UnityEngine.UIElements; | |
internal sealed class ClearVertexColors : EditorWindow | |
{ | |
private sealed class AssetDeletionProcessor : AssetModificationProcessor | |
{ |
NewerOlder