forked from hunterzonewu/unity-decompiled
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAnnotationUtility.cs
More file actions
60 lines (46 loc) · 2.42 KB
/
AnnotationUtility.cs
File metadata and controls
60 lines (46 loc) · 2.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// Decompiled with JetBrains decompiler
// Type: UnityEditor.AnnotationUtility
// Assembly: UnityEditor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 01B28312-B6F5-4E06-90F6-BE297B711E41
// Assembly location: C:\Users\Blake\sandbox\unity\test-project\Library\UnityAssemblies\UnityEditor.dll
using System.Runtime.CompilerServices;
using UnityEngine;
namespace UnityEditor
{
internal sealed class AnnotationUtility
{
internal static extern bool use3dGizmos { [WrapperlessIcall, MethodImpl(MethodImplOptions.InternalCall)] get; [WrapperlessIcall, MethodImpl(MethodImplOptions.InternalCall)] set; }
internal static extern bool showGrid { [WrapperlessIcall, MethodImpl(MethodImplOptions.InternalCall)] get; [WrapperlessIcall, MethodImpl(MethodImplOptions.InternalCall)] set; }
internal static extern float iconSize { [WrapperlessIcall, MethodImpl(MethodImplOptions.InternalCall)] get; [WrapperlessIcall, MethodImpl(MethodImplOptions.InternalCall)] set; }
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
internal static extern Annotation[] GetAnnotations();
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
internal static extern Annotation[] GetRecentlyChangedAnnotations();
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
internal static extern string GetNameOfCurrentSetup();
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
internal static extern void SetGizmoEnabled(int classID, string scriptClass, int gizmoEnabled);
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
internal static extern void SetIconEnabled(int classID, string scriptClass, int iconEnabled);
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
internal static extern string[] GetPresetList();
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
internal static extern void LoadPreset(string presetName);
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
internal static extern void SavePreset(string presetName);
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
internal static extern void DeletePreset(string presetName);
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
internal static extern void ResetToFactorySettings();
}
}