Пример #1
0
 public override void GetBuffer()
 {
     if (particles == null)
     {
         particles = GetComponent <VertBuffer>();
     }
 }
Пример #2
0
        public override void GetBuffer()
        {
            if (buffer == null)
            {
                buffer = GetComponent <TriangleBuffer>();
            }
            if (vBuffer == null)
            {
                vBuffer = GetComponent <VertBuffer>();
            }


            vertValues = vBuffer.GetValues();
        }
Пример #3
0
 public override void GetBuffer()
 {
     if (buffer == null)
     {
         buffer = GetComponent <BufferSDF>();
     }
     if (tBuffer == null)
     {
         tBuffer = GetComponent <TriangleBuffer>();
     }
     if (vBuffer == null)
     {
         vBuffer = GetComponent <VertBuffer>();
     }
 }