fix #44; v2.2.0 has 2 warnings
parent
041ddf679a
commit
76eea1665e
Assets
Coffee/UIExtensions/UIParticle/Scripts
UIParticle_Demo
|
@ -54,9 +54,9 @@ namespace Coffee.UIExtensions
|
|||
};
|
||||
|
||||
[SerializeField]
|
||||
string m_Name;
|
||||
string m_Name = "";
|
||||
[SerializeField]
|
||||
ShaderPropertyType m_Type;
|
||||
ShaderPropertyType m_Type = ShaderPropertyType.Vector;
|
||||
public int id { get; private set; }
|
||||
public ShaderPropertyType type { get { return m_Type; } }
|
||||
|
||||
|
|
|
@ -7,9 +7,9 @@ namespace Coffee.UIExtensions.Demo
|
|||
{
|
||||
public class UIParticle_Demo : MonoBehaviour
|
||||
{
|
||||
[SerializeField] ParticleSystem [] m_ParticleSystems;
|
||||
[SerializeField] List<Transform> m_ScalingByTransforms;
|
||||
[SerializeField] List<UIParticle> m_ScalingByUIParticles;
|
||||
[SerializeField] ParticleSystem [] m_ParticleSystems = new ParticleSystem [0];
|
||||
[SerializeField] List<Transform> m_ScalingByTransforms = new List<Transform> ();
|
||||
[SerializeField] List<UIParticle> m_ScalingByUIParticles = new List<UIParticle> ();
|
||||
|
||||
public void SetTimeScale (float scale)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue