Esempio n. 1
0
 public override void GetBuffer()
 {
     if (particles == null)
     {
         particles = GetComponent <VertBuffer>();
     }
 }
Esempio n. 2
0
        public override void GetBuffer()
        {
            if (buffer == null)
            {
                buffer = GetComponent <TriangleBuffer>();
            }
            if (vBuffer == null)
            {
                vBuffer = GetComponent <VertBuffer>();
            }


            vertValues = vBuffer.GetValues();
        }
Esempio n. 3
0
 public override void GetBuffer()
 {
     if (buffer == null)
     {
         buffer = GetComponent <BufferSDF>();
     }
     if (tBuffer == null)
     {
         tBuffer = GetComponent <TriangleBuffer>();
     }
     if (vBuffer == null)
     {
         vBuffer = GetComponent <VertBuffer>();
     }
 }