You've already forked ParticleEffectForUGUI
mirror of
https://github.com/mob-sakai/ParticleEffectForUGUI.git
synced 2026-05-14 20:20:06 +00:00
3.0.0-preview.13
# [3.0.0-preview.13](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.12...v3.0.0-preview.13) (2020-08-11) ### Bug Fixes * Added CanvasRenderer as a required component ([a8950f6](a8950f65c8)) * inspector is broken in Unity 2020.1 ([26c5395](26c5395a45)) ### Features * update OSC to 1.0.0-preview.25 ([22e116e](22e116e11d))
This commit is contained in:
@@ -171,7 +171,10 @@ namespace Coffee.UIExtensions
|
||||
var sp = new SerializedObject(pr).FindProperty("m_Materials");
|
||||
|
||||
EditorGUILayout.PropertyField(sp.GetArrayElementAtIndex(0), s_ContentParticleMaterial);
|
||||
EditorGUILayout.PropertyField(sp.GetArrayElementAtIndex(1), s_ContentTrailMaterial);
|
||||
if (2 <= sp.arraySize)
|
||||
{
|
||||
EditorGUILayout.PropertyField(sp.GetArrayElementAtIndex(1), s_ContentTrailMaterial);
|
||||
}
|
||||
sp.serializedObject.ApplyModifiedProperties();
|
||||
|
||||
if (!Application.isPlaying && pr.enabled)
|
||||
|
||||
Reference in New Issue
Block a user