Kethane.UserInterface.OverlayRenderer.SetCellColor C# (CSharp) 메소드

SetCellColor() 공개 메소드

public SetCellColor ( Cell cell, Color32 color ) : void
cell Cell
color UnityEngine.Color32
리턴 void
        public void SetCellColor(Cell cell, Color32 color)
        {
            var colors = mesh.colors32;
            setCellColor(cell, color, colors);
            mesh.colors32 = colors;
        }

Usage Example

예제 #1
0
 public void RefreshCellColor(Cell cell, CelestialBody body)
 {
     if (body != this.body)
     {
         return;
     }
     overlayRenderer.SetCellColor(cell, getCellColor(cell, body, KethaneData.Current));
 }