标签:#WOW

Posts

· 2017-12-10 · * Unity * Shader * WOW *

Simulate warlock's spell - Incinerate in world of warcraft:

Construct the mesh and update it each frame

Initialize vertices of mesh
var vertices = new Vector3[(SEGMENTS_COUNT + 1) * 2];

for (var i = 0; i < vertices.Length; i++) {
	vertices [i] = transform.position;
}