예제 #1
0
 public void SetColors(ArkCrossEngine.Color start, ArkCrossEngine.Color end)
 {
     GetImpl <CrossEngineImpl.LineRenderer>().startColor = Helper.ColorToUnity(start);
     GetImpl <CrossEngineImpl.LineRenderer>().endColor   = Helper.ColorToUnity(end);
 }
예제 #2
0
 public void SetColor(string propertyName, ArkCrossEngine.Color color)
 {
     GetImpl <CrossEngineImpl.Material>().SetColor(propertyName, Helper.ColorToUnity(color));
 }
예제 #3
0
 public static CrossEngineImpl.Color ColorToUnity(ArkCrossEngine.Color color)
 {
     return(new CrossEngineImpl.Color(color.r, color.g, color.b));
 }
예제 #4
0
 public void SetColor(int nameID, ArkCrossEngine.Color color)
 {
     GetImpl <CrossEngineImpl.Material>().SetColor(nameID, Helper.ColorToUnity(color));
 }