├── .gitignore ├── EditorInternalsVisibleDemo ├── .gitignore ├── Assets │ ├── Scenes.meta │ └── Scenes │ │ ├── SampleScene.unity │ │ └── SampleScene.unity.meta ├── Packages │ └── manifest.json ├── PackagesCustom │ └── com.wuhuan.internalsvisibledemo │ │ ├── Editor.meta │ │ ├── Editor │ │ ├── PickViewSize.meta │ │ ├── PickViewSize │ │ │ ├── PickGameViewSizeWindow.cs │ │ │ ├── PickGameViewSizeWindow.cs.meta │ │ │ ├── README.md │ │ │ └── README.md.meta │ │ ├── TransformInspectorTool.meta │ │ ├── TransformInspectorTool │ │ │ ├── ScreenShot00001.png │ │ │ ├── ScreenShot00001.png.meta │ │ │ ├── TransformInspector2.cs │ │ │ ├── TransformInspector2.cs.meta │ │ │ ├── readme.md │ │ │ └── readme.md.meta │ │ ├── UnityEditor.Facebook.Extensions.asmdef │ │ └── UnityEditor.Facebook.Extensions.asmdef.meta │ │ ├── package.json │ │ └── package.json.meta └── ProjectSettings │ ├── AudioManager.asset │ ├── ClusterInputManager.asset │ ├── DynamicsManager.asset │ ├── EditorBuildSettings.asset │ ├── EditorSettings.asset │ ├── GraphicsSettings.asset │ ├── InputManager.asset │ ├── NavMeshAreas.asset │ ├── NetworkManager.asset │ ├── Physics2DSettings.asset │ ├── PresetManager.asset │ ├── ProjectSettings.asset │ ├── ProjectVersion.txt │ ├── QualitySettings.asset │ ├── TagManager.asset │ ├── TimeManager.asset │ ├── UnityConnectSettings.asset │ └── VFXManager.asset └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | # This .gitignore file should be placed at the root of your Unity project directory 2 | # 3 | # Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore 4 | # 5 | /[Ll]ibrary/ 6 | /[Tt]emp/ 7 | /[Oo]bj/ 8 | /[Bb]uild/ 9 | /[Bb]uilds/ 10 | /[Ll]ogs/ 11 | /[Mm]emoryCaptures/ 12 | 13 | # Asset meta data should only be ignored when the corresponding asset is also ignored 14 | !/[Aa]ssets/**/*.meta 15 | 16 | # Uncomment this line if you wish to ignore the asset store tools plugin 17 | # /[Aa]ssets/AssetStoreTools* 18 | 19 | # Autogenerated Jetbrains Rider plugin 20 | [Aa]ssets/Plugins/Editor/JetBrains* 21 | 22 | # Visual Studio cache directory 23 | .vs/ 24 | 25 | # Gradle cache directory 26 | .gradle/ 27 | 28 | # Autogenerated VS/MD/Consulo solution and project files 29 | ExportedObj/ 30 | .consulo/ 31 | *.csproj 32 | *.unityproj 33 | *.sln 34 | *.suo 35 | *.tmp 36 | *.user 37 | *.userprefs 38 | *.pidb 39 | *.booproj 40 | *.svd 41 | *.pdb 42 | *.mdb 43 | *.opendb 44 | *.VC.db 45 | 46 | # Unity3D generated meta files 47 | *.pidb.meta 48 | *.pdb.meta 49 | *.mdb.meta 50 | 51 | # Unity3D generated file on crash reports 52 | sysinfo.txt 53 | 54 | # Builds 55 | *.apk 56 | *.unitypackage 57 | 58 | # Crashlytics generated file 59 | crashlytics-build.properties 60 | 61 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/.gitignore: -------------------------------------------------------------------------------- 1 | # This .gitignore file should be placed at the root of your Unity project directory 2 | # 3 | # Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore 4 | # 5 | /[Ll]ibrary/ 6 | /[Tt]emp/ 7 | /[Oo]bj/ 8 | /[Bb]uild/ 9 | /[Bb]uilds/ 10 | /[Ll]ogs/ 11 | /[Mm]emoryCaptures/ 12 | 13 | # Asset meta data should only be ignored when the corresponding asset is also ignored 14 | !/[Aa]ssets/**/*.meta 15 | 16 | # Uncomment this line if you wish to ignore the asset store tools plugin 17 | # /[Aa]ssets/AssetStoreTools* 18 | 19 | # Autogenerated Jetbrains Rider plugin 20 | [Aa]ssets/Plugins/Editor/JetBrains* 21 | 22 | # Visual Studio cache directory 23 | .vs/ 24 | 25 | # Gradle cache directory 26 | .gradle/ 27 | 28 | # Autogenerated VS/MD/Consulo solution and project files 29 | ExportedObj/ 30 | .consulo/ 31 | *.csproj 32 | *.unityproj 33 | *.sln 34 | *.suo 35 | *.tmp 36 | *.user 37 | *.userprefs 38 | *.pidb 39 | *.booproj 40 | *.svd 41 | *.pdb 42 | *.mdb 43 | *.opendb 44 | *.VC.db 45 | 46 | # Unity3D generated meta files 47 | *.pidb.meta 48 | *.pdb.meta 49 | *.mdb.meta 50 | 51 | # Unity3D generated file on crash reports 52 | sysinfo.txt 53 | 54 | # Builds 55 | *.apk 56 | *.unitypackage 57 | 58 | # Crashlytics generated file 59 | crashlytics-build.properties 60 | 61 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 733191f7998211b42b0a0295e21f55a2 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/Assets/Scenes/SampleScene.unity: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!29 &1 4 | OcclusionCullingSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_OcclusionBakeSettings: 8 | smallestOccluder: 5 9 | smallestHole: 0.25 10 | backfaceThreshold: 100 11 | m_SceneGUID: 00000000000000000000000000000000 12 | m_OcclusionCullingData: {fileID: 0} 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_ObjectHideFlags: 0 16 | serializedVersion: 9 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 0 28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} 29 | m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} 30 | m_HaloStrength: 0.5 31 | m_FlareStrength: 1 32 | m_FlareFadeSpeed: 3 33 | m_HaloTexture: {fileID: 0} 34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} 35 | m_DefaultReflectionMode: 0 36 | m_DefaultReflectionResolution: 128 37 | m_ReflectionBounces: 1 38 | m_ReflectionIntensity: 1 39 | m_CustomReflection: {fileID: 0} 40 | m_Sun: {fileID: 170076734} 41 | m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1} 42 | m_UseRadianceAmbientProbe: 0 43 | --- !u!157 &3 44 | LightmapSettings: 45 | m_ObjectHideFlags: 0 46 | serializedVersion: 11 47 | m_GIWorkflowMode: 0 48 | m_GISettings: 49 | serializedVersion: 2 50 | m_BounceScale: 1 51 | m_IndirectOutputScale: 1 52 | m_AlbedoBoost: 1 53 | m_TemporalCoherenceThreshold: 1 54 | m_EnvironmentLightingMode: 0 55 | m_EnableBakedLightmaps: 1 56 | m_EnableRealtimeLightmaps: 0 57 | m_LightmapEditorSettings: 58 | serializedVersion: 10 59 | m_Resolution: 2 60 | m_BakeResolution: 10 61 | m_AtlasSize: 512 62 | m_AO: 0 63 | m_AOMaxDistance: 1 64 | m_CompAOExponent: 1 65 | m_CompAOExponentDirect: 0 66 | m_Padding: 2 67 | m_LightmapParameters: {fileID: 0} 68 | m_LightmapsBakeMode: 1 69 | m_TextureCompression: 1 70 | m_FinalGather: 0 71 | m_FinalGatherFiltering: 1 72 | m_FinalGatherRayCount: 256 73 | m_ReflectionCompression: 2 74 | m_MixedBakeMode: 2 75 | m_BakeBackend: 1 76 | m_PVRSampling: 1 77 | m_PVRDirectSampleCount: 32 78 | m_PVRSampleCount: 256 79 | m_PVRBounces: 2 80 | m_PVRFilterTypeDirect: 0 81 | m_PVRFilterTypeIndirect: 0 82 | m_PVRFilterTypeAO: 0 83 | m_PVRFilteringMode: 1 84 | m_PVRCulling: 1 85 | m_PVRFilteringGaussRadiusDirect: 1 86 | m_PVRFilteringGaussRadiusIndirect: 5 87 | m_PVRFilteringGaussRadiusAO: 2 88 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 89 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 90 | m_PVRFilteringAtrousPositionSigmaAO: 1 91 | m_ShowResolutionOverlay: 1 92 | m_LightingDataAsset: {fileID: 0} 93 | m_UseShadowmask: 1 94 | --- !u!196 &4 95 | NavMeshSettings: 96 | serializedVersion: 2 97 | m_ObjectHideFlags: 0 98 | m_BuildSettings: 99 | serializedVersion: 2 100 | agentTypeID: 0 101 | agentRadius: 0.5 102 | agentHeight: 2 103 | agentSlope: 45 104 | agentClimb: 0.4 105 | ledgeDropHeight: 0 106 | maxJumpAcrossDistance: 0 107 | minRegionArea: 2 108 | manualCellSize: 0 109 | cellSize: 0.16666667 110 | manualTileSize: 0 111 | tileSize: 256 112 | accuratePlacement: 0 113 | debug: 114 | m_Flags: 0 115 | m_NavMeshData: {fileID: 0} 116 | --- !u!1 &170076733 117 | GameObject: 118 | m_ObjectHideFlags: 0 119 | m_CorrespondingSourceObject: {fileID: 0} 120 | m_PrefabInternal: {fileID: 0} 121 | serializedVersion: 6 122 | m_Component: 123 | - component: {fileID: 170076735} 124 | - component: {fileID: 170076734} 125 | m_Layer: 0 126 | m_Name: Directional Light 127 | m_TagString: Untagged 128 | m_Icon: {fileID: 0} 129 | m_NavMeshLayer: 0 130 | m_StaticEditorFlags: 0 131 | m_IsActive: 1 132 | --- !u!108 &170076734 133 | Light: 134 | m_ObjectHideFlags: 0 135 | m_CorrespondingSourceObject: {fileID: 0} 136 | m_PrefabInternal: {fileID: 0} 137 | m_GameObject: {fileID: 170076733} 138 | m_Enabled: 1 139 | serializedVersion: 8 140 | m_Type: 1 141 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} 142 | m_Intensity: 1 143 | m_Range: 10 144 | m_SpotAngle: 30 145 | m_CookieSize: 10 146 | m_Shadows: 147 | m_Type: 2 148 | m_Resolution: -1 149 | m_CustomResolution: -1 150 | m_Strength: 1 151 | m_Bias: 0.05 152 | m_NormalBias: 0.4 153 | m_NearPlane: 0.2 154 | m_Cookie: {fileID: 0} 155 | m_DrawHalo: 0 156 | m_Flare: {fileID: 0} 157 | m_RenderMode: 0 158 | m_CullingMask: 159 | serializedVersion: 2 160 | m_Bits: 4294967295 161 | m_Lightmapping: 1 162 | m_LightShadowCasterMode: 0 163 | m_AreaSize: {x: 1, y: 1} 164 | m_BounceIntensity: 1 165 | m_ColorTemperature: 6570 166 | m_UseColorTemperature: 0 167 | m_ShadowRadius: 0 168 | m_ShadowAngle: 0 169 | --- !u!4 &170076735 170 | Transform: 171 | m_ObjectHideFlags: 0 172 | m_CorrespondingSourceObject: {fileID: 0} 173 | m_PrefabInternal: {fileID: 0} 174 | m_GameObject: {fileID: 170076733} 175 | m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} 176 | m_LocalPosition: {x: 0, y: 3, z: 0} 177 | m_LocalScale: {x: 1, y: 1, z: 1} 178 | m_Children: [] 179 | m_Father: {fileID: 0} 180 | m_RootOrder: 1 181 | m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} 182 | --- !u!1 &534669902 183 | GameObject: 184 | m_ObjectHideFlags: 0 185 | m_CorrespondingSourceObject: {fileID: 0} 186 | m_PrefabInternal: {fileID: 0} 187 | serializedVersion: 6 188 | m_Component: 189 | - component: {fileID: 534669905} 190 | - component: {fileID: 534669904} 191 | - component: {fileID: 534669903} 192 | m_Layer: 0 193 | m_Name: Main Camera 194 | m_TagString: MainCamera 195 | m_Icon: {fileID: 0} 196 | m_NavMeshLayer: 0 197 | m_StaticEditorFlags: 0 198 | m_IsActive: 1 199 | --- !u!81 &534669903 200 | AudioListener: 201 | m_ObjectHideFlags: 0 202 | m_CorrespondingSourceObject: {fileID: 0} 203 | m_PrefabInternal: {fileID: 0} 204 | m_GameObject: {fileID: 534669902} 205 | m_Enabled: 1 206 | --- !u!20 &534669904 207 | Camera: 208 | m_ObjectHideFlags: 0 209 | m_CorrespondingSourceObject: {fileID: 0} 210 | m_PrefabInternal: {fileID: 0} 211 | m_GameObject: {fileID: 534669902} 212 | m_Enabled: 1 213 | serializedVersion: 2 214 | m_ClearFlags: 1 215 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} 216 | m_projectionMatrixMode: 1 217 | m_SensorSize: {x: 36, y: 24} 218 | m_LensShift: {x: 0, y: 0} 219 | m_GateFitMode: 2 220 | m_FocalLength: 50 221 | m_NormalizedViewPortRect: 222 | serializedVersion: 2 223 | x: 0 224 | y: 0 225 | width: 1 226 | height: 1 227 | near clip plane: 0.3 228 | far clip plane: 1000 229 | field of view: 60 230 | orthographic: 0 231 | orthographic size: 5 232 | m_Depth: -1 233 | m_CullingMask: 234 | serializedVersion: 2 235 | m_Bits: 4294967295 236 | m_RenderingPath: -1 237 | m_TargetTexture: {fileID: 0} 238 | m_TargetDisplay: 0 239 | m_TargetEye: 3 240 | m_HDR: 1 241 | m_AllowMSAA: 1 242 | m_AllowDynamicResolution: 0 243 | m_ForceIntoRT: 0 244 | m_OcclusionCulling: 1 245 | m_StereoConvergence: 10 246 | m_StereoSeparation: 0.022 247 | --- !u!4 &534669905 248 | Transform: 249 | m_ObjectHideFlags: 0 250 | m_CorrespondingSourceObject: {fileID: 0} 251 | m_PrefabInternal: {fileID: 0} 252 | m_GameObject: {fileID: 534669902} 253 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 254 | m_LocalPosition: {x: 0, y: 1, z: -10} 255 | m_LocalScale: {x: 1, y: 1, z: 1} 256 | m_Children: [] 257 | m_Father: {fileID: 0} 258 | m_RootOrder: 0 259 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 260 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/Assets/Scenes/SampleScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e07239e4f94b9c1438660a3d8e663f96 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.ads": "2.0.8", 4 | "com.unity.analytics": "3.2.3", 5 | "com.unity.collab-proxy": "1.2.15", 6 | "com.unity.package-manager-ui": "2.0.13", 7 | "com.unity.purchasing": "2.2.1", 8 | "com.unity.textmeshpro": "1.4.1", 9 | "com.wuhuan.internalsvisibledemo": "file:../PackagesCustom/com.wuhuan.internalsvisibledemo", 10 | "com.unity.modules.ai": "1.0.0", 11 | "com.unity.modules.animation": "1.0.0", 12 | "com.unity.modules.assetbundle": "1.0.0", 13 | "com.unity.modules.audio": "1.0.0", 14 | "com.unity.modules.cloth": "1.0.0", 15 | "com.unity.modules.director": "1.0.0", 16 | "com.unity.modules.imageconversion": "1.0.0", 17 | "com.unity.modules.imgui": "1.0.0", 18 | "com.unity.modules.jsonserialize": "1.0.0", 19 | "com.unity.modules.particlesystem": "1.0.0", 20 | "com.unity.modules.physics": "1.0.0", 21 | "com.unity.modules.physics2d": "1.0.0", 22 | "com.unity.modules.screencapture": "1.0.0", 23 | "com.unity.modules.terrain": "1.0.0", 24 | "com.unity.modules.terrainphysics": "1.0.0", 25 | "com.unity.modules.tilemap": "1.0.0", 26 | "com.unity.modules.ui": "1.0.0", 27 | "com.unity.modules.uielements": "1.0.0", 28 | "com.unity.modules.umbra": "1.0.0", 29 | "com.unity.modules.unityanalytics": "1.0.0", 30 | "com.unity.modules.unitywebrequest": "1.0.0", 31 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 32 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 33 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 34 | "com.unity.modules.unitywebrequestwww": "1.0.0", 35 | "com.unity.modules.vehicles": "1.0.0", 36 | "com.unity.modules.video": "1.0.0", 37 | "com.unity.modules.vr": "1.0.0", 38 | "com.unity.modules.wind": "1.0.0", 39 | "com.unity.modules.xr": "1.0.0" 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/PackagesCustom/com.wuhuan.internalsvisibledemo/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 93c0722fcdb59ee4183dac3f8138a856 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/PackagesCustom/com.wuhuan.internalsvisibledemo/Editor/PickViewSize.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c9b5b0c6de3e8d8439d06035da65b383 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/PackagesCustom/com.wuhuan.internalsvisibledemo/Editor/PickViewSize/PickGameViewSizeWindow.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEditor; 3 | 4 | public class PickGameViewSizeWindow : EditorWindow, IHasCustomMenu 5 | { 6 | [MenuItem("界面工具/游戏视图分辨率")] 7 | public static void Init() 8 | { 9 | GetWindow(); 10 | } 11 | 12 | public void Awake() 13 | { 14 | titleContent.text = "Pick View Size"; 15 | minSize = new Vector2(150f,16f); 16 | } 17 | 18 | protected void OnGUI() 19 | { 20 | var currentGroup = GameViewSizes.instance.currentGroup; 21 | int count = currentGroup.GetTotalCount(); 22 | float curWidth = 0; 23 | float curX = 0, curY = 0; 24 | for (int i = currentGroup.GetBuiltinCount(); i < count; i++) 25 | { 26 | var viewSize = currentGroup.GetGameViewSize(i); 27 | var content = EditorGUIUtility.TempContent(viewSize.displayText); 28 | var size = EditorStyles.toolbarButton.CalcSize(content); 29 | size.x = Mathf.Min(size.x, Mathf.Max(minSize.x, position.width)); 30 | if (size.x + curWidth > position.width) 31 | { 32 | curX = 0; 33 | curY += size.y; 34 | curWidth = 0; 35 | i--; 36 | continue; 37 | } 38 | 39 | curWidth += size.x; 40 | Rect rect = new Rect(curX, curY, size.x, size.y); 41 | curX += size.x; 42 | if (GUI.Button(rect, viewSize.displayText, EditorStyles.toolbarButton)) 43 | { 44 | GameView.GetMainGameView().SizeSelectionCallback(i, viewSize); 45 | } 46 | } 47 | } 48 | 49 | public void AddItemsToMenu(GenericMenu menu) 50 | { 51 | menu.AddItem(EditorGUIUtility.TextContent("批量自动添加分辨率"), false, TestAddViewSize); 52 | } 53 | 54 | private void TestAddViewSize() 55 | { 56 | var currentGroup = GameViewSizes.instance.currentGroup; 57 | GameViewSize[] list = 58 | { 59 | new GameViewSize(GameViewSizeType.FixedResolution, 2340, 1080, "☆设计"), 60 | new GameViewSize(GameViewSizeType.FixedResolution, 1920, 1080, "♡标准"), 61 | new GameViewSize(GameViewSizeType.FixedResolution, 1024, 768, "♢平板"), 62 | new GameViewSize(GameViewSizeType.FixedResolution, 2532, 1170, "i12 Max"), 63 | new GameViewSize(GameViewSizeType.FixedResolution, 1334, 750, "i7"), 64 | new GameViewSize(GameViewSizeType.FixedResolution, 960, 640, "i4"), 65 | }; 66 | foreach (var item in list) 67 | { 68 | int i; 69 | int count = currentGroup.GetTotalCount(); 70 | for (i = currentGroup.GetBuiltinCount(); i < count; i++) 71 | { 72 | var viewSize = currentGroup.GetGameViewSize(i); 73 | if (viewSize.width == item.width && viewSize.height == item.height) 74 | { 75 | break; 76 | } 77 | } 78 | 79 | if (i == count) 80 | { 81 | currentGroup.AddCustomSize(item); 82 | GameViewSizes.instance.SaveToHDD(); 83 | } 84 | } 85 | } 86 | } 87 | 88 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/PackagesCustom/com.wuhuan.internalsvisibledemo/Editor/PickViewSize/PickGameViewSizeWindow.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 320cca043ffe9074c99eb417f9c363ad 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/PackagesCustom/com.wuhuan.internalsvisibledemo/Editor/PickViewSize/README.md: -------------------------------------------------------------------------------- 1 | Unity 快速切换 Game 视图分辨率 2 | 3 | 详见:https://blog.csdn.net/akof1314/article/details/113453793 -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/PackagesCustom/com.wuhuan.internalsvisibledemo/Editor/PickViewSize/README.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec1270eb33f63834fa28c9b0bfa369d9 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/PackagesCustom/com.wuhuan.internalsvisibledemo/Editor/TransformInspectorTool.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d5cce4c537d09e6469d782f864de5d8e 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/PackagesCustom/com.wuhuan.internalsvisibledemo/Editor/TransformInspectorTool/ScreenShot00001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akof1314/Unity-EditorInternalsVisibleDemo/98fd6ab4d337a757562073a4ec5c18eaaee57efd/EditorInternalsVisibleDemo/PackagesCustom/com.wuhuan.internalsvisibledemo/Editor/TransformInspectorTool/ScreenShot00001.png -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/PackagesCustom/com.wuhuan.internalsvisibledemo/Editor/TransformInspectorTool/ScreenShot00001.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a6d87d4666954fa49af7951112902e80 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 9 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | spriteSheet: 73 | serializedVersion: 2 74 | sprites: [] 75 | outline: [] 76 | physicsShape: [] 77 | bones: [] 78 | spriteID: 79 | vertices: [] 80 | indices: 81 | edges: [] 82 | weights: [] 83 | spritePackingTag: 84 | pSDRemoveMatte: 0 85 | pSDShowRemoveMatteOption: 0 86 | userData: 87 | assetBundleName: 88 | assetBundleVariant: 89 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/PackagesCustom/com.wuhuan.internalsvisibledemo/Editor/TransformInspectorTool/TransformInspector2.cs: -------------------------------------------------------------------------------- 1 | using UnityEditorInternal; 2 | using UnityEngine; 3 | 4 | namespace UnityEditor 5 | { 6 | [CustomEditor(typeof(Transform))] 7 | [CanEditMultipleObjects] 8 | internal class TransformInspector2 : Editor 9 | { 10 | SerializedProperty m_Position; 11 | SerializedProperty m_Scale; 12 | SerializedProperty m_Rotation; 13 | TransformRotationGUI m_RotationGUI; 14 | private static Vector3 s_ClipBoardVector3; 15 | 16 | class Contents 17 | { 18 | public GUIContent positionContent = EditorGUIUtility.TrTextContent("P", "The local position of this GameObject relative to the parent."); 19 | public GUIContent scaleContent = EditorGUIUtility.TrTextContent("S", "The local scaling of this GameObject relative to the parent."); 20 | public GUIContent rotationContent = EditorGUIUtility.TrTextContent("R", "The local rotation of this GameObject relative to the parent."); 21 | public string floatingPointWarning = LocalizationDatabase.GetLocalizedString("Due to floating-point precision limitations, it is recommended to bring the world coordinates of the GameObject within a smaller range."); 22 | public GUIContent copyContent = EditorGUIUtility.TrTextContent("C", "Copy"); 23 | public GUIContent pasteContent = EditorGUIUtility.TrTextContent("V", "Paste"); 24 | } 25 | static Contents s_Contents; 26 | 27 | public void OnEnable() 28 | { 29 | m_Position = serializedObject.FindProperty("m_LocalPosition"); 30 | m_Scale = serializedObject.FindProperty("m_LocalScale"); 31 | m_Rotation = serializedObject.FindProperty("m_LocalRotation"); 32 | 33 | if (m_RotationGUI == null) 34 | m_RotationGUI = new TransformRotationGUI(); 35 | m_RotationGUI.OnEnable(m_Rotation, GUIContent.none); 36 | } 37 | 38 | public override void OnInspectorGUI() 39 | { 40 | if (s_Contents == null) 41 | s_Contents = new Contents(); 42 | 43 | if (!EditorGUIUtility.wideMode) 44 | { 45 | EditorGUIUtility.wideMode = true; 46 | EditorGUIUtility.labelWidth = EditorGUIUtility.currentViewWidth - 212; 47 | } 48 | 49 | serializedObject.Update(); 50 | 51 | Inspector3D(); 52 | // Warning if global position is too large for floating point errors. 53 | // SanitizeBounds function doesn't even support values beyond 100000 54 | Transform t = target as Transform; 55 | Vector3 pos = t.position; 56 | if (Mathf.Abs(pos.x) > 100000 || Mathf.Abs(pos.y) > 100000 || Mathf.Abs(pos.z) > 100000) 57 | EditorGUILayout.HelpBox(s_Contents.floatingPointWarning, MessageType.Warning); 58 | 59 | serializedObject.ApplyModifiedProperties(); 60 | } 61 | 62 | private void Inspector3D() 63 | { 64 | float labelWidth = EditorGUIUtility.labelWidth; 65 | EditorGUIUtility.labelWidth = labelWidth - 20; 66 | GUILayout.BeginHorizontal(); 67 | bool reset = GUILayout.Button(s_Contents.positionContent, GUILayout.Width(20f)); 68 | EditorGUILayout.PropertyField(m_Position, GUIContent.none); 69 | if (reset) 70 | { 71 | m_Position.vector3Value = Vector3.zero; 72 | } 73 | ShowCopyPaste(m_Position, false); 74 | GUILayout.EndHorizontal(); 75 | 76 | 77 | GUILayout.BeginHorizontal(); 78 | reset = GUILayout.Button(s_Contents.rotationContent, GUILayout.Width(20f)); 79 | m_RotationGUI.RotationField(); 80 | if (reset) 81 | { 82 | m_Rotation.quaternionValue = Quaternion.identity; 83 | } 84 | ShowCopyPaste(m_Rotation, true); 85 | GUILayout.EndHorizontal(); 86 | 87 | GUILayout.BeginHorizontal(); 88 | reset = GUILayout.Button(s_Contents.scaleContent, GUILayout.Width(20f)); 89 | EditorGUILayout.PropertyField(m_Scale, GUIContent.none); 90 | if (reset) 91 | { 92 | m_Scale.vector3Value = Vector3.one; 93 | } 94 | ShowCopyPaste(m_Scale, false); 95 | GUILayout.EndHorizontal(); 96 | EditorGUIUtility.labelWidth = labelWidth; 97 | } 98 | 99 | private void ShowCopyPaste(SerializedProperty serializedProperty, bool isRot) 100 | { 101 | bool reset = GUILayout.Button(s_Contents.copyContent, GUILayout.Width(21f)); 102 | if (reset) 103 | { 104 | if (isRot) 105 | { 106 | s_ClipBoardVector3 = serializedProperty.quaternionValue.eulerAngles; 107 | } 108 | else 109 | { 110 | s_ClipBoardVector3 = serializedProperty.vector3Value; 111 | } 112 | } 113 | reset = GUILayout.Button(s_Contents.pasteContent, GUILayout.Width(20f)); 114 | if (reset) 115 | { 116 | if (isRot) 117 | { 118 | serializedProperty.quaternionValue = Quaternion.Euler(s_ClipBoardVector3); 119 | } 120 | else 121 | { 122 | serializedProperty.vector3Value = s_ClipBoardVector3; 123 | } 124 | } 125 | } 126 | 127 | [EditorHeaderItem(typeof(Object), -1031)] 128 | public static bool DrawHeaderCopyButton(Rect rectangle, Object[] targets) 129 | { 130 | var target = targets[0]; 131 | if (!(target is Transform) || targets.Length > 1) 132 | { 133 | return false; 134 | } 135 | 136 | if (s_Contents == null) 137 | s_Contents = new Contents(); 138 | if (EditorGUI.Button(rectangle, s_Contents.copyContent)) 139 | { 140 | ComponentUtility.CopyComponent(target as Component); 141 | } 142 | return true; 143 | } 144 | 145 | [EditorHeaderItem(typeof(Object), -1032)] 146 | public static bool DrawHeaderPasteButton(Rect rectangle, Object[] targets) 147 | { 148 | var target = targets[0]; 149 | if (!(target is Transform)) 150 | { 151 | return false; 152 | } 153 | 154 | if (s_Contents == null) 155 | s_Contents = new Contents(); 156 | if (EditorGUI.Button(rectangle, s_Contents.pasteContent)) 157 | { 158 | foreach (var o in targets) 159 | { 160 | if (o is Transform) 161 | { 162 | ComponentUtility.PasteComponentValues(o as Component); 163 | } 164 | } 165 | } 166 | return true; 167 | } 168 | } 169 | } 170 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/PackagesCustom/com.wuhuan.internalsvisibledemo/Editor/TransformInspectorTool/TransformInspector2.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: df57e23ca30b351418174389df5eeebc 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/PackagesCustom/com.wuhuan.internalsvisibledemo/Editor/TransformInspectorTool/readme.md: -------------------------------------------------------------------------------- 1 | ![](ScreenShot00001.png) 2 | 3 | 在其他DLL工程要访问 TransformInspector2 的剪贴板对象 4 | 5 | ```csharp 6 | private static Assembly sFacebook; 7 | private static FieldInfo sFacebookClip; 8 | 9 | private Vector3 ShowCopyPaste(Vector3 vector3Value) 10 | { 11 | if (sFacebook == null) 12 | { 13 | sFacebook = ArrayUtility.Find(AppDomain.CurrentDomain.GetAssemblies(), a => a.GetName().Name == "UnityEditor.Facebook.Extensions"); 14 | var type = sFacebook.GetType("UnityEditor.TransformInspector2", false, false); 15 | if (type != null) 16 | { 17 | FieldInfo fieldInfo = type.GetField("s_ClipBoardVector3", BindingFlags.Static | BindingFlags.NonPublic); 18 | if (fieldInfo != null) 19 | { 20 | sFacebookClip = fieldInfo; 21 | } 22 | } 23 | } 24 | 25 | bool reset = GUILayout.Button(copyContent, GUILayout.Width(21f)); 26 | if (reset) 27 | { 28 | if (sFacebookClip != null) 29 | { 30 | sFacebookClip.SetValue(null, vector3Value); 31 | } 32 | } 33 | reset = GUILayout.Button(pasteContent, GUILayout.Width(20f)); 34 | if (reset) 35 | { 36 | if (sFacebookClip != null) 37 | { 38 | return sFacebookClip.GetValue(null) is Vector3 ? (Vector3) sFacebookClip.GetValue(null) : vector3Value; 39 | } 40 | } 41 | 42 | return vector3Value; 43 | } 44 | ``` -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/PackagesCustom/com.wuhuan.internalsvisibledemo/Editor/TransformInspectorTool/readme.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d11503b8b7124ee4bae07b344aafdd4d 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/PackagesCustom/com.wuhuan.internalsvisibledemo/Editor/UnityEditor.Facebook.Extensions.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "UnityEditor.Facebook.Extensions", 3 | "references": [], 4 | "optionalUnityReferences": [], 5 | "includePlatforms": [ 6 | "Editor" 7 | ], 8 | "excludePlatforms": [] 9 | } -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/PackagesCustom/com.wuhuan.internalsvisibledemo/Editor/UnityEditor.Facebook.Extensions.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fc4b45a413052274897544850b0271df 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/PackagesCustom/com.wuhuan.internalsvisibledemo/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "com.wuhuan.internalsvisibledemo", 3 | "displayName": "InternalsVisibleDemo", 4 | "version": "1.0.0", 5 | "unity": "2018.4", 6 | "description": "internalsvisibledemo.", 7 | "keywords": [ 8 | "internalsvisibledemo" 9 | ], 10 | "category": "Editor", 11 | "dependencies": {} 12 | } 13 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/PackagesCustom/com.wuhuan.internalsvisibledemo/package.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5cc9cf62bbd451f45a83c4c7bd0be2c9 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | m_Volume: 1 7 | Rolloff Scale: 1 8 | Doppler Factor: 1 9 | Default Speaker Mode: 2 10 | m_SampleRate: 0 11 | m_DSPBufferSize: 1024 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_AmbisonicDecoderPlugin: 16 | m_DisableAudio: 0 17 | m_VirtualizeEffects: 1 18 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 8 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_ClothInterCollisionDistance: 0 18 | m_ClothInterCollisionStiffness: 0 19 | m_ContactsGeneration: 1 20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 21 | m_AutoSimulation: 1 22 | m_AutoSyncTransforms: 0 23 | m_ReuseCollisionCallbacks: 1 24 | m_ClothInterCollisionSettingsToggle: 0 25 | m_ContactPairsMode: 0 26 | m_BroadphaseType: 0 27 | m_WorldBounds: 28 | m_Center: {x: 0, y: 0, z: 0} 29 | m_Extent: {x: 250, y: 250, z: 250} 30 | m_WorldSubdivisions: 8 31 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: [] 8 | m_configObjects: {} 9 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 7 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 2 10 | m_DefaultBehaviorMode: 0 11 | m_SpritePackerMode: 0 12 | m_SpritePackerPaddingPower: 1 13 | m_EtcTextureCompressorBehavior: 1 14 | m_EtcTextureFastCompressor: 1 15 | m_EtcTextureNormalCompressor: 2 16 | m_EtcTextureBestCompressor: 4 17 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd 18 | m_ProjectGenerationRootNamespace: 19 | m_UserGeneratedProjectSuffix: 20 | m_CollabEditorSettings: 21 | inProgressEnabled: 1 22 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 12 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_ScreenSpaceShadows: 14 | m_Mode: 1 15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} 16 | m_LegacyDeferred: 17 | m_Mode: 1 18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 19 | m_DepthNormals: 20 | m_Mode: 1 21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} 22 | m_MotionVectors: 23 | m_Mode: 1 24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} 25 | m_LightHalo: 26 | m_Mode: 1 27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} 28 | m_LensFlare: 29 | m_Mode: 1 30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} 31 | m_AlwaysIncludedShaders: 32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 38 | - {fileID: 10783, guid: 0000000000000000f000000000000000, type: 0} 39 | m_PreloadedShaders: [] 40 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 41 | type: 0} 42 | m_CustomRenderPipeline: {fileID: 0} 43 | m_TransparencySortMode: 0 44 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 45 | m_DefaultRenderingPath: 1 46 | m_DefaultMobileRenderingPath: 1 47 | m_TierSettings: [] 48 | m_LightmapStripping: 0 49 | m_FogStripping: 0 50 | m_InstancingStripping: 0 51 | m_LightmapKeepPlain: 1 52 | m_LightmapKeepDirCombined: 1 53 | m_LightmapKeepDynamicPlain: 1 54 | m_LightmapKeepDynamicDirCombined: 1 55 | m_LightmapKeepShadowMask: 1 56 | m_LightmapKeepSubtractive: 1 57 | m_FogKeepLinear: 1 58 | m_FogKeepExp: 1 59 | m_FogKeepExp2: 1 60 | m_AlbedoSwatchInfos: [] 61 | m_LightsUseLinearIntensity: 0 62 | m_LightsUseColorTemperature: 0 63 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!13 &1 4 | InputManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Axes: 8 | - serializedVersion: 3 9 | m_Name: Horizontal 10 | descriptiveName: 11 | descriptiveNegativeName: 12 | negativeButton: left 13 | positiveButton: right 14 | altNegativeButton: a 15 | altPositiveButton: d 16 | gravity: 3 17 | dead: 0.001 18 | sensitivity: 3 19 | snap: 1 20 | invert: 0 21 | type: 0 22 | axis: 0 23 | joyNum: 0 24 | - serializedVersion: 3 25 | m_Name: Vertical 26 | descriptiveName: 27 | descriptiveNegativeName: 28 | negativeButton: down 29 | positiveButton: up 30 | altNegativeButton: s 31 | altPositiveButton: w 32 | gravity: 3 33 | dead: 0.001 34 | sensitivity: 3 35 | snap: 1 36 | invert: 0 37 | type: 0 38 | axis: 0 39 | joyNum: 0 40 | - serializedVersion: 3 41 | m_Name: Fire1 42 | descriptiveName: 43 | descriptiveNegativeName: 44 | negativeButton: 45 | positiveButton: left ctrl 46 | altNegativeButton: 47 | altPositiveButton: mouse 0 48 | gravity: 1000 49 | dead: 0.001 50 | sensitivity: 1000 51 | snap: 0 52 | invert: 0 53 | type: 0 54 | axis: 0 55 | joyNum: 0 56 | - serializedVersion: 3 57 | m_Name: Fire2 58 | descriptiveName: 59 | descriptiveNegativeName: 60 | negativeButton: 61 | positiveButton: left alt 62 | altNegativeButton: 63 | altPositiveButton: mouse 1 64 | gravity: 1000 65 | dead: 0.001 66 | sensitivity: 1000 67 | snap: 0 68 | invert: 0 69 | type: 0 70 | axis: 0 71 | joyNum: 0 72 | - serializedVersion: 3 73 | m_Name: Fire3 74 | descriptiveName: 75 | descriptiveNegativeName: 76 | negativeButton: 77 | positiveButton: left shift 78 | altNegativeButton: 79 | altPositiveButton: mouse 2 80 | gravity: 1000 81 | dead: 0.001 82 | sensitivity: 1000 83 | snap: 0 84 | invert: 0 85 | type: 0 86 | axis: 0 87 | joyNum: 0 88 | - serializedVersion: 3 89 | m_Name: Jump 90 | descriptiveName: 91 | descriptiveNegativeName: 92 | negativeButton: 93 | positiveButton: space 94 | altNegativeButton: 95 | altPositiveButton: 96 | gravity: 1000 97 | dead: 0.001 98 | sensitivity: 1000 99 | snap: 0 100 | invert: 0 101 | type: 0 102 | axis: 0 103 | joyNum: 0 104 | - serializedVersion: 3 105 | m_Name: Mouse X 106 | descriptiveName: 107 | descriptiveNegativeName: 108 | negativeButton: 109 | positiveButton: 110 | altNegativeButton: 111 | altPositiveButton: 112 | gravity: 0 113 | dead: 0 114 | sensitivity: 0.1 115 | snap: 0 116 | invert: 0 117 | type: 1 118 | axis: 0 119 | joyNum: 0 120 | - serializedVersion: 3 121 | m_Name: Mouse Y 122 | descriptiveName: 123 | descriptiveNegativeName: 124 | negativeButton: 125 | positiveButton: 126 | altNegativeButton: 127 | altPositiveButton: 128 | gravity: 0 129 | dead: 0 130 | sensitivity: 0.1 131 | snap: 0 132 | invert: 0 133 | type: 1 134 | axis: 1 135 | joyNum: 0 136 | - serializedVersion: 3 137 | m_Name: Mouse ScrollWheel 138 | descriptiveName: 139 | descriptiveNegativeName: 140 | negativeButton: 141 | positiveButton: 142 | altNegativeButton: 143 | altPositiveButton: 144 | gravity: 0 145 | dead: 0 146 | sensitivity: 0.1 147 | snap: 0 148 | invert: 0 149 | type: 1 150 | axis: 2 151 | joyNum: 0 152 | - serializedVersion: 3 153 | m_Name: Horizontal 154 | descriptiveName: 155 | descriptiveNegativeName: 156 | negativeButton: 157 | positiveButton: 158 | altNegativeButton: 159 | altPositiveButton: 160 | gravity: 0 161 | dead: 0.19 162 | sensitivity: 1 163 | snap: 0 164 | invert: 0 165 | type: 2 166 | axis: 0 167 | joyNum: 0 168 | - serializedVersion: 3 169 | m_Name: Vertical 170 | descriptiveName: 171 | descriptiveNegativeName: 172 | negativeButton: 173 | positiveButton: 174 | altNegativeButton: 175 | altPositiveButton: 176 | gravity: 0 177 | dead: 0.19 178 | sensitivity: 1 179 | snap: 0 180 | invert: 1 181 | type: 2 182 | axis: 1 183 | joyNum: 0 184 | - serializedVersion: 3 185 | m_Name: Fire1 186 | descriptiveName: 187 | descriptiveNegativeName: 188 | negativeButton: 189 | positiveButton: joystick button 0 190 | altNegativeButton: 191 | altPositiveButton: 192 | gravity: 1000 193 | dead: 0.001 194 | sensitivity: 1000 195 | snap: 0 196 | invert: 0 197 | type: 0 198 | axis: 0 199 | joyNum: 0 200 | - serializedVersion: 3 201 | m_Name: Fire2 202 | descriptiveName: 203 | descriptiveNegativeName: 204 | negativeButton: 205 | positiveButton: joystick button 1 206 | altNegativeButton: 207 | altPositiveButton: 208 | gravity: 1000 209 | dead: 0.001 210 | sensitivity: 1000 211 | snap: 0 212 | invert: 0 213 | type: 0 214 | axis: 0 215 | joyNum: 0 216 | - serializedVersion: 3 217 | m_Name: Fire3 218 | descriptiveName: 219 | descriptiveNegativeName: 220 | negativeButton: 221 | positiveButton: joystick button 2 222 | altNegativeButton: 223 | altPositiveButton: 224 | gravity: 1000 225 | dead: 0.001 226 | sensitivity: 1000 227 | snap: 0 228 | invert: 0 229 | type: 0 230 | axis: 0 231 | joyNum: 0 232 | - serializedVersion: 3 233 | m_Name: Jump 234 | descriptiveName: 235 | descriptiveNegativeName: 236 | negativeButton: 237 | positiveButton: joystick button 3 238 | altNegativeButton: 239 | altPositiveButton: 240 | gravity: 1000 241 | dead: 0.001 242 | sensitivity: 1000 243 | snap: 0 244 | invert: 0 245 | type: 0 246 | axis: 0 247 | joyNum: 0 248 | - serializedVersion: 3 249 | m_Name: Submit 250 | descriptiveName: 251 | descriptiveNegativeName: 252 | negativeButton: 253 | positiveButton: return 254 | altNegativeButton: 255 | altPositiveButton: joystick button 0 256 | gravity: 1000 257 | dead: 0.001 258 | sensitivity: 1000 259 | snap: 0 260 | invert: 0 261 | type: 0 262 | axis: 0 263 | joyNum: 0 264 | - serializedVersion: 3 265 | m_Name: Submit 266 | descriptiveName: 267 | descriptiveNegativeName: 268 | negativeButton: 269 | positiveButton: enter 270 | altNegativeButton: 271 | altPositiveButton: space 272 | gravity: 1000 273 | dead: 0.001 274 | sensitivity: 1000 275 | snap: 0 276 | invert: 0 277 | type: 0 278 | axis: 0 279 | joyNum: 0 280 | - serializedVersion: 3 281 | m_Name: Cancel 282 | descriptiveName: 283 | descriptiveNegativeName: 284 | negativeButton: 285 | positiveButton: escape 286 | altNegativeButton: 287 | altPositiveButton: joystick button 1 288 | gravity: 1000 289 | dead: 0.001 290 | sensitivity: 1000 291 | snap: 0 292 | invert: 0 293 | type: 0 294 | axis: 0 295 | joyNum: 0 296 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | m_LastAgentTypeID: -887442657 73 | m_Settings: 74 | - serializedVersion: 2 75 | agentTypeID: 0 76 | agentRadius: 0.5 77 | agentHeight: 2 78 | agentSlope: 45 79 | agentClimb: 0.75 80 | ledgeDropHeight: 0 81 | maxJumpAcrossDistance: 0 82 | minRegionArea: 2 83 | manualCellSize: 0 84 | cellSize: 0.16666667 85 | manualTileSize: 0 86 | tileSize: 256 87 | accuratePlacement: 0 88 | debug: 89 | m_Flags: 0 90 | m_SettingNames: 91 | - Humanoid 92 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!149 &1 4 | NetworkManager: 5 | m_ObjectHideFlags: 0 6 | m_DebugLevel: 0 7 | m_Sendrate: 15 8 | m_AssetToPrefab: {} 9 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 4 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_BaumgarteScale: 0.2 17 | m_BaumgarteTimeOfImpactScale: 0.75 18 | m_TimeToSleep: 0.5 19 | m_LinearSleepTolerance: 0.01 20 | m_AngularSleepTolerance: 2 21 | m_DefaultContactOffset: 0.01 22 | m_AutoSimulation: 1 23 | m_QueriesHitTriggers: 1 24 | m_QueriesStartInColliders: 1 25 | m_ChangeStopsCallbacks: 0 26 | m_CallbacksOnDisable: 1 27 | m_ReuseCollisionCallbacks: 1 28 | m_AutoSyncTransforms: 0 29 | m_AlwaysShowColliders: 0 30 | m_ShowColliderSleep: 1 31 | m_ShowColliderContacts: 0 32 | m_ShowColliderAABB: 0 33 | m_ContactArrowScale: 0.2 34 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 35 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 36 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 37 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 38 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 39 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | m_DefaultList: 7 | - type: 8 | m_NativeTypeID: 108 9 | m_ManagedTypePPtr: {fileID: 0} 10 | m_ManagedTypeFallback: 11 | defaultPresets: 12 | - m_Preset: {fileID: 2655988077585873504, guid: c1cf8506f04ef2c4a88b64b6c4202eea, 13 | type: 2} 14 | - type: 15 | m_NativeTypeID: 1020 16 | m_ManagedTypePPtr: {fileID: 0} 17 | m_ManagedTypeFallback: 18 | defaultPresets: 19 | - m_Preset: {fileID: 2655988077585873504, guid: 0cd792cc87e492d43b4e95b205fc5cc6, 20 | type: 2} 21 | - type: 22 | m_NativeTypeID: 1006 23 | m_ManagedTypePPtr: {fileID: 0} 24 | m_ManagedTypeFallback: 25 | defaultPresets: 26 | - m_Preset: {fileID: 2655988077585873504, guid: 7a99f8aa944efe94cb9bd74562b7d5f9, 27 | type: 2} 28 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!129 &1 4 | PlayerSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 18 7 | productGUID: 933890a1b31ee7c40b73ab34bf1408cc 8 | AndroidProfiler: 0 9 | AndroidFilterTouchesWhenObscured: 0 10 | AndroidEnableSustainedPerformanceMode: 0 11 | defaultScreenOrientation: 4 12 | targetDevice: 2 13 | useOnDemandResources: 0 14 | accelerometerFrequency: 60 15 | companyName: DefaultCompany 16 | productName: EditorInternalsVisibleDemo 17 | defaultCursor: {fileID: 0} 18 | cursorHotspot: {x: 0, y: 0} 19 | m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} 20 | m_ShowUnitySplashScreen: 1 21 | m_ShowUnitySplashLogo: 1 22 | m_SplashScreenOverlayOpacity: 1 23 | m_SplashScreenAnimation: 1 24 | m_SplashScreenLogoStyle: 1 25 | m_SplashScreenDrawMode: 0 26 | m_SplashScreenBackgroundAnimationZoom: 1 27 | m_SplashScreenLogoAnimationZoom: 1 28 | m_SplashScreenBackgroundLandscapeAspect: 1 29 | m_SplashScreenBackgroundPortraitAspect: 1 30 | m_SplashScreenBackgroundLandscapeUvs: 31 | serializedVersion: 2 32 | x: 0 33 | y: 0 34 | width: 1 35 | height: 1 36 | m_SplashScreenBackgroundPortraitUvs: 37 | serializedVersion: 2 38 | x: 0 39 | y: 0 40 | width: 1 41 | height: 1 42 | m_SplashScreenLogos: [] 43 | m_VirtualRealitySplashScreen: {fileID: 0} 44 | m_HolographicTrackingLossScreen: {fileID: 0} 45 | defaultScreenWidth: 1024 46 | defaultScreenHeight: 768 47 | defaultScreenWidthWeb: 960 48 | defaultScreenHeightWeb: 600 49 | m_StereoRenderingPath: 0 50 | m_ActiveColorSpace: 0 51 | m_MTRendering: 1 52 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 53 | iosShowActivityIndicatorOnLoading: -1 54 | androidShowActivityIndicatorOnLoading: -1 55 | displayResolutionDialog: 1 56 | iosUseCustomAppBackgroundBehavior: 0 57 | iosAllowHTTPDownload: 1 58 | allowedAutorotateToPortrait: 1 59 | allowedAutorotateToPortraitUpsideDown: 1 60 | allowedAutorotateToLandscapeRight: 1 61 | allowedAutorotateToLandscapeLeft: 1 62 | useOSAutorotation: 1 63 | use32BitDisplayBuffer: 1 64 | preserveFramebufferAlpha: 0 65 | disableDepthAndStencilBuffers: 0 66 | androidStartInFullscreen: 1 67 | androidRenderOutsideSafeArea: 0 68 | androidBlitType: 0 69 | defaultIsNativeResolution: 1 70 | macRetinaSupport: 1 71 | runInBackground: 1 72 | captureSingleScreen: 0 73 | muteOtherAudioSources: 0 74 | Prepare IOS For Recording: 0 75 | Force IOS Speakers When Recording: 0 76 | deferSystemGesturesMode: 0 77 | hideHomeButton: 0 78 | submitAnalytics: 1 79 | usePlayerLog: 1 80 | bakeCollisionMeshes: 0 81 | forceSingleInstance: 0 82 | resizableWindow: 0 83 | useMacAppStoreValidation: 0 84 | macAppStoreCategory: public.app-category.games 85 | gpuSkinning: 1 86 | graphicsJobs: 0 87 | xboxPIXTextureCapture: 0 88 | xboxEnableAvatar: 0 89 | xboxEnableKinect: 0 90 | xboxEnableKinectAutoTracking: 0 91 | xboxEnableFitness: 0 92 | visibleInBackground: 1 93 | allowFullscreenSwitch: 1 94 | graphicsJobMode: 0 95 | fullscreenMode: 1 96 | xboxSpeechDB: 0 97 | xboxEnableHeadOrientation: 0 98 | xboxEnableGuest: 0 99 | xboxEnablePIXSampling: 0 100 | metalFramebufferOnly: 0 101 | xboxOneResolution: 0 102 | xboxOneSResolution: 0 103 | xboxOneXResolution: 3 104 | xboxOneMonoLoggingLevel: 0 105 | xboxOneLoggingLevel: 1 106 | xboxOneDisableEsram: 0 107 | xboxOneEnableTypeOptimization: 0 108 | xboxOnePresentImmediateThreshold: 0 109 | switchQueueCommandMemory: 0 110 | switchQueueControlMemory: 16384 111 | switchQueueComputeMemory: 262144 112 | switchNVNShaderPoolsGranularity: 33554432 113 | switchNVNDefaultPoolsGranularity: 16777216 114 | switchNVNOtherPoolsGranularity: 16777216 115 | vulkanEnableSetSRGBWrite: 0 116 | m_SupportedAspectRatios: 117 | 4:3: 1 118 | 5:4: 1 119 | 16:10: 1 120 | 16:9: 1 121 | Others: 1 122 | bundleVersion: 0.1 123 | preloadedAssets: [] 124 | metroInputSource: 0 125 | wsaTransparentSwapchain: 0 126 | m_HolographicPauseOnTrackingLoss: 1 127 | xboxOneDisableKinectGpuReservation: 1 128 | xboxOneEnable7thCore: 1 129 | isWsaHolographicRemotingEnabled: 0 130 | vrSettings: 131 | cardboard: 132 | depthFormat: 0 133 | enableTransitionView: 0 134 | daydream: 135 | depthFormat: 0 136 | useSustainedPerformanceMode: 0 137 | enableVideoLayer: 0 138 | useProtectedVideoMemory: 0 139 | minimumSupportedHeadTracking: 0 140 | maximumSupportedHeadTracking: 1 141 | hololens: 142 | depthFormat: 1 143 | depthBufferSharingEnabled: 1 144 | oculus: 145 | sharedDepthBuffer: 1 146 | dashSupport: 1 147 | lowOverheadMode: 0 148 | protectedContext: 0 149 | v2Signing: 0 150 | enable360StereoCapture: 0 151 | protectGraphicsMemory: 0 152 | enableFrameTimingStats: 0 153 | useHDRDisplay: 0 154 | m_ColorGamuts: 00000000 155 | targetPixelDensity: 30 156 | resolutionScalingMode: 0 157 | androidSupportedAspectRatio: 1 158 | androidMaxAspectRatio: 2.1 159 | applicationIdentifier: {} 160 | buildNumber: {} 161 | AndroidBundleVersionCode: 1 162 | AndroidMinSdkVersion: 16 163 | AndroidTargetSdkVersion: 0 164 | AndroidPreferredInstallLocation: 1 165 | aotOptions: 166 | stripEngineCode: 1 167 | iPhoneStrippingLevel: 0 168 | iPhoneScriptCallOptimization: 0 169 | ForceInternetPermission: 0 170 | ForceSDCardPermission: 0 171 | CreateWallpaper: 0 172 | APKExpansionFiles: 0 173 | keepLoadedShadersAlive: 0 174 | StripUnusedMeshComponents: 1 175 | VertexChannelCompressionMask: 4054 176 | iPhoneSdkVersion: 988 177 | iOSTargetOSVersionString: 9.0 178 | tvOSSdkVersion: 0 179 | tvOSRequireExtendedGameController: 0 180 | tvOSTargetOSVersionString: 9.0 181 | uIPrerenderedIcon: 0 182 | uIRequiresPersistentWiFi: 0 183 | uIRequiresFullScreen: 1 184 | uIStatusBarHidden: 1 185 | uIExitOnSuspend: 0 186 | uIStatusBarStyle: 0 187 | iPhoneSplashScreen: {fileID: 0} 188 | iPhoneHighResSplashScreen: {fileID: 0} 189 | iPhoneTallHighResSplashScreen: {fileID: 0} 190 | iPhone47inSplashScreen: {fileID: 0} 191 | iPhone55inPortraitSplashScreen: {fileID: 0} 192 | iPhone55inLandscapeSplashScreen: {fileID: 0} 193 | iPhone58inPortraitSplashScreen: {fileID: 0} 194 | iPhone58inLandscapeSplashScreen: {fileID: 0} 195 | iPadPortraitSplashScreen: {fileID: 0} 196 | iPadHighResPortraitSplashScreen: {fileID: 0} 197 | iPadLandscapeSplashScreen: {fileID: 0} 198 | iPadHighResLandscapeSplashScreen: {fileID: 0} 199 | appleTVSplashScreen: {fileID: 0} 200 | appleTVSplashScreen2x: {fileID: 0} 201 | tvOSSmallIconLayers: [] 202 | tvOSSmallIconLayers2x: [] 203 | tvOSLargeIconLayers: [] 204 | tvOSLargeIconLayers2x: [] 205 | tvOSTopShelfImageLayers: [] 206 | tvOSTopShelfImageLayers2x: [] 207 | tvOSTopShelfImageWideLayers: [] 208 | tvOSTopShelfImageWideLayers2x: [] 209 | iOSLaunchScreenType: 0 210 | iOSLaunchScreenPortrait: {fileID: 0} 211 | iOSLaunchScreenLandscape: {fileID: 0} 212 | iOSLaunchScreenBackgroundColor: 213 | serializedVersion: 2 214 | rgba: 0 215 | iOSLaunchScreenFillPct: 100 216 | iOSLaunchScreenSize: 100 217 | iOSLaunchScreenCustomXibPath: 218 | iOSLaunchScreeniPadType: 0 219 | iOSLaunchScreeniPadImage: {fileID: 0} 220 | iOSLaunchScreeniPadBackgroundColor: 221 | serializedVersion: 2 222 | rgba: 0 223 | iOSLaunchScreeniPadFillPct: 100 224 | iOSLaunchScreeniPadSize: 100 225 | iOSLaunchScreeniPadCustomXibPath: 226 | iOSUseLaunchScreenStoryboard: 0 227 | iOSLaunchScreenCustomStoryboardPath: 228 | iOSDeviceRequirements: [] 229 | iOSURLSchemes: [] 230 | iOSBackgroundModes: 0 231 | iOSMetalForceHardShadows: 0 232 | metalEditorSupport: 1 233 | metalAPIValidation: 1 234 | iOSRenderExtraFrameOnPause: 0 235 | appleDeveloperTeamID: 236 | iOSManualSigningProvisioningProfileID: 237 | tvOSManualSigningProvisioningProfileID: 238 | iOSManualSigningProvisioningProfileType: 0 239 | tvOSManualSigningProvisioningProfileType: 0 240 | appleEnableAutomaticSigning: 0 241 | iOSRequireARKit: 0 242 | iOSAutomaticallyDetectAndAddCapabilities: 1 243 | appleEnableProMotion: 0 244 | clonedFromGUID: c0afd0d1d80e3634a9dac47e8a0426ea 245 | templatePackageId: com.unity.template.3d@1.3.0 246 | templateDefaultScene: Assets/Scenes/SampleScene.unity 247 | AndroidTargetArchitectures: 5 248 | AndroidSplashScreenScale: 0 249 | androidSplashScreen: {fileID: 0} 250 | AndroidKeystoreName: 251 | AndroidKeyaliasName: 252 | AndroidBuildApkPerCpuArchitecture: 0 253 | AndroidTVCompatibility: 1 254 | AndroidIsGame: 1 255 | AndroidEnableTango: 0 256 | androidEnableBanner: 1 257 | androidUseLowAccuracyLocation: 0 258 | m_AndroidBanners: 259 | - width: 320 260 | height: 180 261 | banner: {fileID: 0} 262 | androidGamepadSupportLevel: 0 263 | resolutionDialogBanner: {fileID: 0} 264 | m_BuildTargetIcons: [] 265 | m_BuildTargetPlatformIcons: [] 266 | m_BuildTargetBatching: 267 | - m_BuildTarget: Standalone 268 | m_StaticBatching: 1 269 | m_DynamicBatching: 0 270 | - m_BuildTarget: tvOS 271 | m_StaticBatching: 1 272 | m_DynamicBatching: 0 273 | - m_BuildTarget: Android 274 | m_StaticBatching: 1 275 | m_DynamicBatching: 0 276 | - m_BuildTarget: iPhone 277 | m_StaticBatching: 1 278 | m_DynamicBatching: 0 279 | - m_BuildTarget: WebGL 280 | m_StaticBatching: 0 281 | m_DynamicBatching: 0 282 | m_BuildTargetGraphicsAPIs: 283 | - m_BuildTarget: AndroidPlayer 284 | m_APIs: 0b00000008000000 285 | m_Automatic: 1 286 | - m_BuildTarget: iOSSupport 287 | m_APIs: 10000000 288 | m_Automatic: 1 289 | - m_BuildTarget: AppleTVSupport 290 | m_APIs: 10000000 291 | m_Automatic: 0 292 | - m_BuildTarget: WebGLSupport 293 | m_APIs: 0b000000 294 | m_Automatic: 1 295 | m_BuildTargetVRSettings: 296 | - m_BuildTarget: Standalone 297 | m_Enabled: 0 298 | m_Devices: 299 | - Oculus 300 | - OpenVR 301 | m_BuildTargetEnableVuforiaSettings: [] 302 | openGLRequireES31: 0 303 | openGLRequireES31AEP: 0 304 | m_TemplateCustomTags: {} 305 | mobileMTRendering: 306 | Android: 1 307 | iPhone: 1 308 | tvOS: 1 309 | m_BuildTargetGroupLightmapEncodingQuality: [] 310 | m_BuildTargetGroupLightmapSettings: [] 311 | playModeTestRunnerEnabled: 0 312 | runPlayModeTestAsEditModeTest: 0 313 | actionOnDotNetUnhandledException: 1 314 | enableInternalProfiler: 0 315 | logObjCUncaughtExceptions: 1 316 | enableCrashReportAPI: 0 317 | cameraUsageDescription: 318 | locationUsageDescription: 319 | microphoneUsageDescription: 320 | switchNetLibKey: 321 | switchSocketMemoryPoolSize: 6144 322 | switchSocketAllocatorPoolSize: 128 323 | switchSocketConcurrencyLimit: 14 324 | switchScreenResolutionBehavior: 2 325 | switchUseCPUProfiler: 0 326 | switchApplicationID: 0x01004b9000490000 327 | switchNSODependencies: 328 | switchTitleNames_0: 329 | switchTitleNames_1: 330 | switchTitleNames_2: 331 | switchTitleNames_3: 332 | switchTitleNames_4: 333 | switchTitleNames_5: 334 | switchTitleNames_6: 335 | switchTitleNames_7: 336 | switchTitleNames_8: 337 | switchTitleNames_9: 338 | switchTitleNames_10: 339 | switchTitleNames_11: 340 | switchTitleNames_12: 341 | switchTitleNames_13: 342 | switchTitleNames_14: 343 | switchPublisherNames_0: 344 | switchPublisherNames_1: 345 | switchPublisherNames_2: 346 | switchPublisherNames_3: 347 | switchPublisherNames_4: 348 | switchPublisherNames_5: 349 | switchPublisherNames_6: 350 | switchPublisherNames_7: 351 | switchPublisherNames_8: 352 | switchPublisherNames_9: 353 | switchPublisherNames_10: 354 | switchPublisherNames_11: 355 | switchPublisherNames_12: 356 | switchPublisherNames_13: 357 | switchPublisherNames_14: 358 | switchIcons_0: {fileID: 0} 359 | switchIcons_1: {fileID: 0} 360 | switchIcons_2: {fileID: 0} 361 | switchIcons_3: {fileID: 0} 362 | switchIcons_4: {fileID: 0} 363 | switchIcons_5: {fileID: 0} 364 | switchIcons_6: {fileID: 0} 365 | switchIcons_7: {fileID: 0} 366 | switchIcons_8: {fileID: 0} 367 | switchIcons_9: {fileID: 0} 368 | switchIcons_10: {fileID: 0} 369 | switchIcons_11: {fileID: 0} 370 | switchIcons_12: {fileID: 0} 371 | switchIcons_13: {fileID: 0} 372 | switchIcons_14: {fileID: 0} 373 | switchSmallIcons_0: {fileID: 0} 374 | switchSmallIcons_1: {fileID: 0} 375 | switchSmallIcons_2: {fileID: 0} 376 | switchSmallIcons_3: {fileID: 0} 377 | switchSmallIcons_4: {fileID: 0} 378 | switchSmallIcons_5: {fileID: 0} 379 | switchSmallIcons_6: {fileID: 0} 380 | switchSmallIcons_7: {fileID: 0} 381 | switchSmallIcons_8: {fileID: 0} 382 | switchSmallIcons_9: {fileID: 0} 383 | switchSmallIcons_10: {fileID: 0} 384 | switchSmallIcons_11: {fileID: 0} 385 | switchSmallIcons_12: {fileID: 0} 386 | switchSmallIcons_13: {fileID: 0} 387 | switchSmallIcons_14: {fileID: 0} 388 | switchManualHTML: 389 | switchAccessibleURLs: 390 | switchLegalInformation: 391 | switchMainThreadStackSize: 1048576 392 | switchPresenceGroupId: 393 | switchLogoHandling: 0 394 | switchReleaseVersion: 0 395 | switchDisplayVersion: 1.0.0 396 | switchStartupUserAccount: 0 397 | switchTouchScreenUsage: 0 398 | switchSupportedLanguagesMask: 0 399 | switchLogoType: 0 400 | switchApplicationErrorCodeCategory: 401 | switchUserAccountSaveDataSize: 0 402 | switchUserAccountSaveDataJournalSize: 0 403 | switchApplicationAttribute: 0 404 | switchCardSpecSize: -1 405 | switchCardSpecClock: -1 406 | switchRatingsMask: 0 407 | switchRatingsInt_0: 0 408 | switchRatingsInt_1: 0 409 | switchRatingsInt_2: 0 410 | switchRatingsInt_3: 0 411 | switchRatingsInt_4: 0 412 | switchRatingsInt_5: 0 413 | switchRatingsInt_6: 0 414 | switchRatingsInt_7: 0 415 | switchRatingsInt_8: 0 416 | switchRatingsInt_9: 0 417 | switchRatingsInt_10: 0 418 | switchRatingsInt_11: 0 419 | switchRatingsInt_12: 0 420 | switchLocalCommunicationIds_0: 421 | switchLocalCommunicationIds_1: 422 | switchLocalCommunicationIds_2: 423 | switchLocalCommunicationIds_3: 424 | switchLocalCommunicationIds_4: 425 | switchLocalCommunicationIds_5: 426 | switchLocalCommunicationIds_6: 427 | switchLocalCommunicationIds_7: 428 | switchParentalControl: 0 429 | switchAllowsScreenshot: 1 430 | switchAllowsVideoCapturing: 1 431 | switchAllowsRuntimeAddOnContentInstall: 0 432 | switchDataLossConfirmation: 0 433 | switchUserAccountLockEnabled: 0 434 | switchSystemResourceMemory: 16777216 435 | switchSupportedNpadStyles: 3 436 | switchNativeFsCacheSize: 32 437 | switchIsHoldTypeHorizontal: 0 438 | switchSupportedNpadCount: 8 439 | switchSocketConfigEnabled: 0 440 | switchTcpInitialSendBufferSize: 32 441 | switchTcpInitialReceiveBufferSize: 64 442 | switchTcpAutoSendBufferSizeMax: 256 443 | switchTcpAutoReceiveBufferSizeMax: 256 444 | switchUdpSendBufferSize: 9 445 | switchUdpReceiveBufferSize: 42 446 | switchSocketBufferEfficiency: 4 447 | switchSocketInitializeEnabled: 1 448 | switchNetworkInterfaceManagerInitializeEnabled: 1 449 | switchPlayerConnectionEnabled: 1 450 | ps4NPAgeRating: 12 451 | ps4NPTitleSecret: 452 | ps4NPTrophyPackPath: 453 | ps4ParentalLevel: 11 454 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 455 | ps4Category: 0 456 | ps4MasterVersion: 01.00 457 | ps4AppVersion: 01.00 458 | ps4AppType: 0 459 | ps4ParamSfxPath: 460 | ps4VideoOutPixelFormat: 0 461 | ps4VideoOutInitialWidth: 1920 462 | ps4VideoOutBaseModeInitialWidth: 1920 463 | ps4VideoOutReprojectionRate: 60 464 | ps4PronunciationXMLPath: 465 | ps4PronunciationSIGPath: 466 | ps4BackgroundImagePath: 467 | ps4StartupImagePath: 468 | ps4StartupImagesFolder: 469 | ps4IconImagesFolder: 470 | ps4SaveDataImagePath: 471 | ps4SdkOverride: 472 | ps4BGMPath: 473 | ps4ShareFilePath: 474 | ps4ShareOverlayImagePath: 475 | ps4PrivacyGuardImagePath: 476 | ps4NPtitleDatPath: 477 | ps4RemotePlayKeyAssignment: -1 478 | ps4RemotePlayKeyMappingDir: 479 | ps4PlayTogetherPlayerCount: 0 480 | ps4EnterButtonAssignment: 1 481 | ps4ApplicationParam1: 0 482 | ps4ApplicationParam2: 0 483 | ps4ApplicationParam3: 0 484 | ps4ApplicationParam4: 0 485 | ps4DownloadDataSize: 0 486 | ps4GarlicHeapSize: 2048 487 | ps4ProGarlicHeapSize: 2560 488 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 489 | ps4pnSessions: 1 490 | ps4pnPresence: 1 491 | ps4pnFriends: 1 492 | ps4pnGameCustomData: 1 493 | playerPrefsSupport: 0 494 | enableApplicationExit: 0 495 | resetTempFolder: 1 496 | restrictedAudioUsageRights: 0 497 | ps4UseResolutionFallback: 0 498 | ps4ReprojectionSupport: 0 499 | ps4UseAudio3dBackend: 0 500 | ps4SocialScreenEnabled: 0 501 | ps4ScriptOptimizationLevel: 0 502 | ps4Audio3dVirtualSpeakerCount: 14 503 | ps4attribCpuUsage: 0 504 | ps4PatchPkgPath: 505 | ps4PatchLatestPkgPath: 506 | ps4PatchChangeinfoPath: 507 | ps4PatchDayOne: 0 508 | ps4attribUserManagement: 0 509 | ps4attribMoveSupport: 0 510 | ps4attrib3DSupport: 0 511 | ps4attribShareSupport: 0 512 | ps4attribExclusiveVR: 0 513 | ps4disableAutoHideSplash: 0 514 | ps4videoRecordingFeaturesUsed: 0 515 | ps4contentSearchFeaturesUsed: 0 516 | ps4attribEyeToEyeDistanceSettingVR: 0 517 | ps4IncludedModules: [] 518 | monoEnv: 519 | splashScreenBackgroundSourceLandscape: {fileID: 0} 520 | splashScreenBackgroundSourcePortrait: {fileID: 0} 521 | spritePackerPolicy: 522 | webGLMemorySize: 256 523 | webGLExceptionSupport: 1 524 | webGLNameFilesAsHashes: 0 525 | webGLDataCaching: 1 526 | webGLDebugSymbols: 0 527 | webGLEmscriptenArgs: 528 | webGLModulesDirectory: 529 | webGLTemplate: APPLICATION:Default 530 | webGLAnalyzeBuildSize: 0 531 | webGLUseEmbeddedResources: 0 532 | webGLCompressionFormat: 1 533 | webGLLinkerTarget: 1 534 | webGLThreadsSupport: 0 535 | scriptingDefineSymbols: {} 536 | platformArchitecture: {} 537 | scriptingBackend: {} 538 | il2cppCompilerConfiguration: {} 539 | managedStrippingLevel: {} 540 | incrementalIl2cppBuild: {} 541 | allowUnsafeCode: 0 542 | additionalIl2CppArgs: 543 | scriptingRuntimeVersion: 1 544 | apiCompatibilityLevelPerPlatform: {} 545 | m_RenderingPath: 1 546 | m_MobileRenderingPath: 1 547 | metroPackageName: Template_3D 548 | metroPackageVersion: 549 | metroCertificatePath: 550 | metroCertificatePassword: 551 | metroCertificateSubject: 552 | metroCertificateIssuer: 553 | metroCertificateNotAfter: 0000000000000000 554 | metroApplicationDescription: Template_3D 555 | wsaImages: {} 556 | metroTileShortName: 557 | metroTileShowName: 0 558 | metroMediumTileShowName: 0 559 | metroLargeTileShowName: 0 560 | metroWideTileShowName: 0 561 | metroSupportStreamingInstall: 0 562 | metroLastRequiredScene: 0 563 | metroDefaultTileSize: 1 564 | metroTileForegroundText: 2 565 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 566 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, 567 | a: 1} 568 | metroSplashScreenUseBackgroundColor: 0 569 | platformCapabilities: {} 570 | metroTargetDeviceFamilies: {} 571 | metroFTAName: 572 | metroFTAFileTypes: [] 573 | metroProtocolName: 574 | metroCompilationOverrides: 1 575 | XboxOneProductId: 576 | XboxOneUpdateKey: 577 | XboxOneSandboxId: 578 | XboxOneContentId: 579 | XboxOneTitleId: 580 | XboxOneSCId: 581 | XboxOneGameOsOverridePath: 582 | XboxOnePackagingOverridePath: 583 | XboxOneAppManifestOverridePath: 584 | XboxOneVersion: 1.0.0.0 585 | XboxOnePackageEncryption: 0 586 | XboxOnePackageUpdateGranularity: 2 587 | XboxOneDescription: 588 | XboxOneLanguage: 589 | - enus 590 | XboxOneCapability: [] 591 | XboxOneGameRating: {} 592 | XboxOneIsContentPackage: 0 593 | XboxOneEnableGPUVariability: 1 594 | XboxOneSockets: {} 595 | XboxOneSplashScreen: {fileID: 0} 596 | XboxOneAllowedProductIds: [] 597 | XboxOnePersistentLocalStorageSize: 0 598 | XboxOneXTitleMemory: 8 599 | xboxOneScriptCompiler: 1 600 | XboxOneOverrideIdentityName: 601 | vrEditorSettings: 602 | daydream: 603 | daydreamIconForeground: {fileID: 0} 604 | daydreamIconBackground: {fileID: 0} 605 | cloudServicesEnabled: 606 | UNet: 1 607 | luminIcon: 608 | m_Name: 609 | m_ModelFolderPath: 610 | m_PortalFolderPath: 611 | luminCert: 612 | m_CertPath: 613 | m_PrivateKeyPath: 614 | luminIsChannelApp: 0 615 | luminVersion: 616 | m_VersionCode: 1 617 | m_VersionName: 618 | facebookSdkVersion: 7.9.4 619 | facebookAppId: 620 | facebookCookies: 1 621 | facebookLogging: 1 622 | facebookStatus: 1 623 | facebookXfbml: 0 624 | facebookFrictionlessRequests: 1 625 | apiCompatibilityLevel: 6 626 | cloudProjectId: 627 | framebufferDepthMemorylessMode: 0 628 | projectName: 629 | organizationId: 630 | cloudEnabled: 0 631 | enableNativePlatformBackendsForNewInputSystem: 0 632 | disableOldInputManagerSupport: 0 633 | legacyClampBlendShapeWeights: 0 634 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2018.4.33f1 2 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!47 &1 4 | QualitySettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_CurrentQuality: 4 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Very Low 11 | pixelLightCount: 0 12 | shadows: 0 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 15 17 | shadowNearPlaneOffset: 3 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 20 | shadowmaskMode: 0 21 | blendWeights: 1 22 | textureQuality: 1 23 | anisotropicTextures: 0 24 | antiAliasing: 0 25 | softParticles: 0 26 | softVegetation: 0 27 | realtimeReflectionProbes: 0 28 | billboardsFaceCameraPosition: 0 29 | vSyncCount: 0 30 | lodBias: 0.3 31 | maximumLODLevel: 0 32 | particleRaycastBudget: 4 33 | asyncUploadTimeSlice: 2 34 | asyncUploadBufferSize: 16 35 | resolutionScalingFixedDPIFactor: 1 36 | excludedTargetPlatforms: [] 37 | - serializedVersion: 2 38 | name: Low 39 | pixelLightCount: 0 40 | shadows: 0 41 | shadowResolution: 0 42 | shadowProjection: 1 43 | shadowCascades: 1 44 | shadowDistance: 20 45 | shadowNearPlaneOffset: 3 46 | shadowCascade2Split: 0.33333334 47 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 48 | shadowmaskMode: 0 49 | blendWeights: 2 50 | textureQuality: 0 51 | anisotropicTextures: 0 52 | antiAliasing: 0 53 | softParticles: 0 54 | softVegetation: 0 55 | realtimeReflectionProbes: 0 56 | billboardsFaceCameraPosition: 0 57 | vSyncCount: 0 58 | lodBias: 0.4 59 | maximumLODLevel: 0 60 | particleRaycastBudget: 16 61 | asyncUploadTimeSlice: 2 62 | asyncUploadBufferSize: 16 63 | resolutionScalingFixedDPIFactor: 1 64 | excludedTargetPlatforms: [] 65 | - serializedVersion: 2 66 | name: Medium 67 | pixelLightCount: 1 68 | shadows: 1 69 | shadowResolution: 0 70 | shadowProjection: 1 71 | shadowCascades: 1 72 | shadowDistance: 20 73 | shadowNearPlaneOffset: 3 74 | shadowCascade2Split: 0.33333334 75 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 76 | shadowmaskMode: 0 77 | blendWeights: 2 78 | textureQuality: 0 79 | anisotropicTextures: 1 80 | antiAliasing: 0 81 | softParticles: 0 82 | softVegetation: 0 83 | realtimeReflectionProbes: 0 84 | billboardsFaceCameraPosition: 0 85 | vSyncCount: 1 86 | lodBias: 0.7 87 | maximumLODLevel: 0 88 | particleRaycastBudget: 64 89 | asyncUploadTimeSlice: 2 90 | asyncUploadBufferSize: 16 91 | resolutionScalingFixedDPIFactor: 1 92 | excludedTargetPlatforms: [] 93 | - serializedVersion: 2 94 | name: High 95 | pixelLightCount: 2 96 | shadows: 2 97 | shadowResolution: 1 98 | shadowProjection: 1 99 | shadowCascades: 2 100 | shadowDistance: 40 101 | shadowNearPlaneOffset: 3 102 | shadowCascade2Split: 0.33333334 103 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 104 | shadowmaskMode: 1 105 | blendWeights: 2 106 | textureQuality: 0 107 | anisotropicTextures: 1 108 | antiAliasing: 2 109 | softParticles: 0 110 | softVegetation: 1 111 | realtimeReflectionProbes: 1 112 | billboardsFaceCameraPosition: 1 113 | vSyncCount: 1 114 | lodBias: 1 115 | maximumLODLevel: 0 116 | particleRaycastBudget: 256 117 | asyncUploadTimeSlice: 2 118 | asyncUploadBufferSize: 16 119 | resolutionScalingFixedDPIFactor: 1 120 | excludedTargetPlatforms: [] 121 | - serializedVersion: 2 122 | name: Very High 123 | pixelLightCount: 3 124 | shadows: 2 125 | shadowResolution: 2 126 | shadowProjection: 1 127 | shadowCascades: 2 128 | shadowDistance: 40 129 | shadowNearPlaneOffset: 3 130 | shadowCascade2Split: 0.33333334 131 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 132 | shadowmaskMode: 1 133 | blendWeights: 4 134 | textureQuality: 0 135 | anisotropicTextures: 1 136 | antiAliasing: 4 137 | softParticles: 1 138 | softVegetation: 1 139 | realtimeReflectionProbes: 1 140 | billboardsFaceCameraPosition: 1 141 | vSyncCount: 1 142 | lodBias: 1.5 143 | maximumLODLevel: 0 144 | particleRaycastBudget: 1024 145 | asyncUploadTimeSlice: 2 146 | asyncUploadBufferSize: 16 147 | resolutionScalingFixedDPIFactor: 1 148 | excludedTargetPlatforms: [] 149 | - serializedVersion: 2 150 | name: Ultra 151 | pixelLightCount: 4 152 | shadows: 2 153 | shadowResolution: 2 154 | shadowProjection: 1 155 | shadowCascades: 4 156 | shadowDistance: 150 157 | shadowNearPlaneOffset: 3 158 | shadowCascade2Split: 0.33333334 159 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 160 | shadowmaskMode: 1 161 | blendWeights: 4 162 | textureQuality: 0 163 | anisotropicTextures: 1 164 | antiAliasing: 4 165 | softParticles: 1 166 | softVegetation: 1 167 | realtimeReflectionProbes: 1 168 | billboardsFaceCameraPosition: 1 169 | vSyncCount: 1 170 | lodBias: 2 171 | maximumLODLevel: 0 172 | particleRaycastBudget: 4096 173 | asyncUploadTimeSlice: 2 174 | asyncUploadBufferSize: 16 175 | resolutionScalingFixedDPIFactor: 1 176 | excludedTargetPlatforms: [] 177 | m_PerPlatformDefaultQuality: 178 | Android: 2 179 | Nintendo 3DS: 5 180 | Nintendo Switch: 5 181 | PS4: 5 182 | PSP2: 2 183 | Standalone: 5 184 | Tizen: 2 185 | WebGL: 3 186 | WiiU: 5 187 | Windows Store Apps: 5 188 | XboxOne: 5 189 | iPhone: 2 190 | tvOS: 2 191 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - PostProcessing 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.1 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 1 7 | m_Enabled: 0 8 | m_TestMode: 0 9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events 10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events 11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com 12 | m_TestInitMode: 0 13 | CrashReportingSettings: 14 | m_EventUrl: https://perf-events.cloud.unity3d.com 15 | m_Enabled: 0 16 | m_LogBufferSize: 10 17 | m_CaptureEditorExceptions: 1 18 | UnityPurchasingSettings: 19 | m_Enabled: 0 20 | m_TestMode: 0 21 | UnityAnalyticsSettings: 22 | m_Enabled: 0 23 | m_TestMode: 0 24 | m_InitializeOnStartup: 1 25 | UnityAdsSettings: 26 | m_Enabled: 0 27 | m_InitializeOnStartup: 1 28 | m_TestMode: 0 29 | m_IosGameId: 30 | m_AndroidGameId: 31 | m_GameIds: {} 32 | m_GameId: 33 | PerformanceReportingSettings: 34 | m_Enabled: 0 35 | -------------------------------------------------------------------------------- /EditorInternalsVisibleDemo/ProjectSettings/VFXManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!937362698 &1 4 | VFXManager: 5 | m_ObjectHideFlags: 0 6 | m_IndirectShader: {fileID: 0} 7 | m_CopyBufferShader: {fileID: 0} 8 | m_SortShader: {fileID: 0} 9 | m_RenderPipeSettingsPath: 10 | m_FixedTimeStep: 0.016666668 11 | m_MaxDeltaTime: 0.05 12 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Unity Editor Internals Visible Demo 2 | ## 原因 3 | 4 | 在使用 Unity Editor 制作编辑器工具的时候,经常无法对 Editor 内的 internal 类和方法进行访问,需要使用反射方式。反射方式写起来比较麻烦,也不便于调试和更新,Unity 升级了版本,内部接口变化,导致反射失效。 5 | 6 | ## 解决 7 | 8 | 通过查看`UnityEditor.dll`文件,可以发现其声明了一些友元程序集,比如`[assembly: InternalsVisibleTo("UnityEditor.Facebook.Extensions")]`,那么我们就找一个不会用上的程序集,来访问内部方法。 9 | ![](https://img-blog.csdnimg.cn/20201227112648817.png) 10 | 11 | ## 步骤 12 | 13 | 1. Demo 基于 Unity 2018,但每个版本都可以实现 14 | 2. 创建自定义包文件夹,如:EditorInternalsVisibleDemo\PackagesCustom\com.wuhuan.internalsvisibledemo 15 | 3. 在包里创建`package.json`文件 16 | 4. 在包里创建`UnityEditor.Facebook.Extensions.asmdef`文件 17 | 18 | `package.json`文件 19 | ```javascript 20 | { 21 | "name": "com.wuhuan.internalsvisibledemo", 22 | "displayName": "InternalsVisibleDemo", 23 | "version": "1.0.0", 24 | "unity": "2018.4", 25 | "description": "internalsvisibledemo.", 26 | "keywords": [ 27 | "internalsvisibledemo" 28 | ], 29 | "category": "Editor", 30 | "dependencies": {} 31 | } 32 | ``` 33 | 34 | `UnityEditor.Facebook.Extensions.asmdef`文件 35 | 36 | ```java 37 | { 38 | "name": "UnityEditor.Facebook.Extensions", 39 | "references": [], 40 | "optionalUnityReferences": [], 41 | "includePlatforms": [ 42 | "Editor" 43 | ], 44 | "excludePlatforms": [] 45 | } 46 | ``` 47 | 48 | ## 源码 49 | 50 | Github 地址:[https://github.com/akof1314/Unity-EditorInternalsVisibleDemo](https://github.com/akof1314/Unity-EditorInternalsVisibleDemo) 51 | --------------------------------------------------------------------------------