Exemplo n.º 1
0
 public override void _Create()
 {
     if (particles == null)
     {
         particles = GetComponent <Particles>();
     }
     SetStructSize();
     SetCount();
     SetBufferType();
     DoCreate();
     Create();
 }
Exemplo n.º 2
0
 public override void _Create()
 {
     if (mpb == null)
     {
         mpb = new MaterialPropertyBlock();
     }
     if (particles == null)
     {
         particles = GetComponent <Particles>();
     }
     SetStructSize();
     SetCount();
     SetBufferType();
     DoCreate();
     Create();
 }