diff --git a/CHANGELOG.md b/CHANGELOG.md index b630ffd..f3b4c59 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# v0.5.0 +- Slightly widened all custom Component Icons for display clarity. +- Changed Udon Behaviour Component icon to something that I think looked better when representing either an Udon Graph or an UdonSharp Component. +- Added icon for the `VRCHeadChop` Component introduced in SDK 3.5.2. + # v0.4.2 - Added isPlaying check to prevent icons and GUI changes from loading while in Play Mode. This should optimize performance. diff --git a/Editor/BluHierarchy.cs b/Editor/BluHierarchy.cs index e3256d5..20b9ab6 100644 --- a/Editor/BluHierarchy.cs +++ b/Editor/BluHierarchy.cs @@ -138,13 +138,6 @@ public static void RepaintHierarchyWindow() private static void OnHierarchyGUI(int instanceID, Rect selectionRect) { - // Check if Unity is in Play Mode - if (EditorApplication.isPlaying) - { - // Exit the method during Play Mode to optimize performance. - return; - } - // Convert the instance ID to a GameObject GameObject go = EditorUtility.InstanceIDToObject(instanceID) as GameObject; if (go == null) return; @@ -180,6 +173,13 @@ private static void OnHierarchyGUI(int instanceID, Rect selectionRect) if (BluHierarchySettings.ShowLayerIcon) { + // Check if Unity is in Play Mode + if (EditorApplication.isPlaying) + { + // Exit the method during Play Mode to optimize performance. + return; + } + string layerName = LayerMask.LayerToName(go.layer); if (layerIcons.ContainsKey(layerName)) @@ -214,6 +214,13 @@ private static void OnHierarchyGUI(int instanceID, Rect selectionRect) foreach (Component component in components) { + // Check if Unity is in Play Mode + if (EditorApplication.isPlaying) + { + // Exit the method during Play Mode to optimize performance. + return; + } + if (component == null) continue; if (component is Transform && !BluHierarchySettings.ShowTransformIcon) continue; @@ -245,6 +252,7 @@ private static void OnHierarchyGUI(int instanceID, Rect selectionRect) else if (component.GetType().Name == "VRCContactReceiver") { icon = Resources.Load("Icons/vrcContactReceiver"); } else if (component.GetType().Name == "VRCContactSender") { icon = Resources.Load("Icons/vrcContactSender"); } else if (component.GetType().Name == "VRCImpostorSettings") { icon = Resources.Load("Icons/vrcImpostorSettings"); } + else if (component.GetType().Name == "VRCHeadChop") { icon = Resources.Load("Icons/vrcHeadChop"); } // Load Custom Icons for VRC World SDK Components else if (component.GetType().Name == "VRCSceneDescriptor") { icon = Resources.Load("Icons/vrcSceneDescriptor"); } diff --git a/Resources/Icons/VRCFury.png b/Resources/Icons/VRCFury.png index a9e040a..cc9dcf3 100644 Binary files a/Resources/Icons/VRCFury.png and b/Resources/Icons/VRCFury.png differ diff --git a/Resources/Icons/bakeryGeneric.png b/Resources/Icons/bakeryGeneric.png index 9ef9978..99c532a 100644 Binary files a/Resources/Icons/bakeryGeneric.png and b/Resources/Icons/bakeryGeneric.png differ diff --git a/Resources/Icons/vrcAVProVideoPlayer.png b/Resources/Icons/vrcAVProVideoPlayer.png index 2b11e51..643e997 100644 Binary files a/Resources/Icons/vrcAVProVideoPlayer.png and b/Resources/Icons/vrcAVProVideoPlayer.png differ diff --git a/Resources/Icons/vrcAVProVideoScreen.png b/Resources/Icons/vrcAVProVideoScreen.png index 205e01c..596c26a 100644 Binary files a/Resources/Icons/vrcAVProVideoScreen.png and b/Resources/Icons/vrcAVProVideoScreen.png differ diff --git a/Resources/Icons/vrcAVProVideoSpeaker.png b/Resources/Icons/vrcAVProVideoSpeaker.png index 0bdae5b..ed27890 100644 Binary files a/Resources/Icons/vrcAVProVideoSpeaker.png and b/Resources/Icons/vrcAVProVideoSpeaker.png differ diff --git a/Resources/Icons/vrcAvatarDescriptor.png b/Resources/Icons/vrcAvatarDescriptor.png index 5d3b31d..53a2f99 100644 Binary files a/Resources/Icons/vrcAvatarDescriptor.png and b/Resources/Icons/vrcAvatarDescriptor.png differ diff --git a/Resources/Icons/vrcAvatarPedestal.png b/Resources/Icons/vrcAvatarPedestal.png index 48acceb..871ba48 100644 Binary files a/Resources/Icons/vrcAvatarPedestal.png and b/Resources/Icons/vrcAvatarPedestal.png differ diff --git a/Resources/Icons/vrcHeadChop.png b/Resources/Icons/vrcHeadChop.png new file mode 100644 index 0000000..5ec0537 Binary files /dev/null and b/Resources/Icons/vrcHeadChop.png differ diff --git a/Resources/Icons/vrcHeadChop.png.meta b/Resources/Icons/vrcHeadChop.png.meta new file mode 100644 index 0000000..fbe5f9c --- /dev/null +++ b/Resources/Icons/vrcHeadChop.png.meta @@ -0,0 +1,153 @@ +fileFormatVersion: 2 +guid: 1e232eca7a3279643a3093e99bf1f177 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 0 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 2 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 64 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: iPhone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Resources/Icons/vrcImpostorSettings.png b/Resources/Icons/vrcImpostorSettings.png index 45d2111..5175960 100644 Binary files a/Resources/Icons/vrcImpostorSettings.png and b/Resources/Icons/vrcImpostorSettings.png differ diff --git a/Resources/Icons/vrcMirrorReflection.png b/Resources/Icons/vrcMirrorReflection.png index 8f8c881..59dce18 100644 Binary files a/Resources/Icons/vrcMirrorReflection.png and b/Resources/Icons/vrcMirrorReflection.png differ diff --git a/Resources/Icons/vrcObjectPool.png b/Resources/Icons/vrcObjectPool.png index ecf5f82..b918559 100644 Binary files a/Resources/Icons/vrcObjectPool.png and b/Resources/Icons/vrcObjectPool.png differ diff --git a/Resources/Icons/vrcObjectSync.png b/Resources/Icons/vrcObjectSync.png index a337e29..79b17b6 100644 Binary files a/Resources/Icons/vrcObjectSync.png and b/Resources/Icons/vrcObjectSync.png differ diff --git a/Resources/Icons/vrcPickup.png b/Resources/Icons/vrcPickup.png index 4c2088d..372a12c 100644 Binary files a/Resources/Icons/vrcPickup.png and b/Resources/Icons/vrcPickup.png differ diff --git a/Resources/Icons/vrcPipelineManager.png b/Resources/Icons/vrcPipelineManager.png index 7983031..78d390e 100644 Binary files a/Resources/Icons/vrcPipelineManager.png and b/Resources/Icons/vrcPipelineManager.png differ diff --git a/Resources/Icons/vrcPortalMarker.png b/Resources/Icons/vrcPortalMarker.png index ef08e90..a151516 100644 Binary files a/Resources/Icons/vrcPortalMarker.png and b/Resources/Icons/vrcPortalMarker.png differ diff --git a/Resources/Icons/vrcSceneDescriptor.png b/Resources/Icons/vrcSceneDescriptor.png index 812ff49..e4cf986 100644 Binary files a/Resources/Icons/vrcSceneDescriptor.png and b/Resources/Icons/vrcSceneDescriptor.png differ diff --git a/Resources/Icons/vrcSpatialAudioSource.png b/Resources/Icons/vrcSpatialAudioSource.png index d09ebdc..a6002e6 100644 Binary files a/Resources/Icons/vrcSpatialAudioSource.png and b/Resources/Icons/vrcSpatialAudioSource.png differ diff --git a/Resources/Icons/vrcStation.png b/Resources/Icons/vrcStation.png index 6e59c67..026bb16 100644 Binary files a/Resources/Icons/vrcStation.png and b/Resources/Icons/vrcStation.png differ diff --git a/Resources/Icons/vrcURLInputField.png b/Resources/Icons/vrcURLInputField.png index 51ab085..10dd478 100644 Binary files a/Resources/Icons/vrcURLInputField.png and b/Resources/Icons/vrcURLInputField.png differ diff --git a/Resources/Icons/vrcUdonBehaviour.png b/Resources/Icons/vrcUdonBehaviour.png index 378a95a..a81628d 100644 Binary files a/Resources/Icons/vrcUdonBehaviour.png and b/Resources/Icons/vrcUdonBehaviour.png differ diff --git a/Resources/Icons/vrcUiShape.png b/Resources/Icons/vrcUiShape.png index 0423c5d..cd8f398 100644 Binary files a/Resources/Icons/vrcUiShape.png and b/Resources/Icons/vrcUiShape.png differ diff --git a/Resources/Icons/vrcUnityVideoPlayer.png b/Resources/Icons/vrcUnityVideoPlayer.png index d16439e..21d9b8e 100644 Binary files a/Resources/Icons/vrcUnityVideoPlayer.png and b/Resources/Icons/vrcUnityVideoPlayer.png differ diff --git a/package.json b/package.json index 622835c..5fe9cf4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "net.bluwizard.hierarchy", - "version": "0.4.2", + "version": "0.5.0", "displayName": "BluHierarchy", "unity": "2019.4", "description": "Blu's personal editor enhancement system that introduces an improved Hierarchy look, tailored made for VRChat Creators.",