diff --git a/Scripts/Editor/UIParticleEditor.cs b/Scripts/Editor/UIParticleEditor.cs index 6d3a415..6afb1c2 100644 --- a/Scripts/Editor/UIParticleEditor.cs +++ b/Scripts/Editor/UIParticleEditor.cs @@ -228,7 +228,7 @@ namespace Coffee.UIExtensions { if (!mat.HasProperty (propName)) { - EditorGUILayout.HelpBox (string.Format("Shader {0} doesn't have '{1}' property. This graphic is not maskable.", shader.name, propName), MessageType.Warning); + EditorGUILayout.HelpBox (string.Format ("Shader {0} doesn't have '{1}' property. This graphic is not maskable.", shader.name, propName), MessageType.Warning); break; } } @@ -310,7 +310,7 @@ namespace Coffee.UIExtensions transformMatrix *= emitterMatrix; Handles.matrix = transformMatrix; - if(uip.canvas.renderMode == RenderMode.ScreenSpaceOverlay || ps.main.scalingMode == ParticleSystemScalingMode.Hierarchy) + if (uip.canvas.renderMode == RenderMode.ScreenSpaceOverlay || ps.main.scalingMode == ParticleSystemScalingMode.Hierarchy) { Handles.matrix = Handles.matrix * Matrix4x4.Scale (Vector3.one * uip.scale); } diff --git a/Scripts/UIParticle.cs b/Scripts/UIParticle.cs index b808b27..d5bd598 100755 --- a/Scripts/UIParticle.cs +++ b/Scripts/UIParticle.cs @@ -37,7 +37,7 @@ namespace Coffee.UIExtensions [SerializeField] bool m_IgnoreParent = false; [Tooltip ("Animatable material properties. AnimationでParticleSystemのマテリアルプロパティを変更する場合、有効にしてください。")] - [SerializeField] AnimatableProperty[] m_AnimatableProperties = new AnimatableProperty[0]; + [SerializeField] AnimatableProperty [] m_AnimatableProperties = new AnimatableProperty [0]; static MaterialPropertyBlock s_Mpb;