Example #1
0
 IEnumerator Run()
 {
     Color32[] Colors = _plane.getColors();
     for (int index = 0; index < Colors.Length; index++)
     {
         if (Colors[index].a != 255)
         {
             Colors[index].a = 255;
             _plane.UpdateColorAt(index, Colors[index]);
             _mesh.colors32 = _plane.getColors();
             yield return(null);
         }
     }
 }