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