fix ; v2.2.0 has 2 warnings

pull/52/head
mob-sakai 2019-02-26 11:10:47 +09:00
parent 041ddf679a
commit 76eea1665e
2 changed files with 5 additions and 5 deletions
Assets
Coffee/UIExtensions/UIParticle/Scripts
UIParticle_Demo

View File

@ -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; } }

View File

@ -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)
{