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