Color.operator *static operator * (a : Color, b : Color) : ColorDescriptionMultiplies two colors together. Each component is multiplied separately.
JavaScripts
using UnityEngine;
using System.Collections; public class example : MonoBehaviour { public Color grayColor = Color.gray * Color.white; } import UnityEngine
import System.Collections class example(MonoBehaviour): public grayColor as Color = (Color.gray * Color.white) static operator * (a : Color, b : float) : ColorDescriptionMultiplies color a by the float b. Each color component is scaled separately.
JavaScripts
using UnityEngine;
using System.Collections; public class example : MonoBehaviour { public Color whiteColor = Color.gray * 2; } import UnityEngine
import System.Collections class example(MonoBehaviour): public whiteColor as Color = (Color.gray * 2) static operator * (b : float, a : Color) : ColorDescriptionMultiplies color a by the float b. Each color component is scaled separately.
JavaScripts
using UnityEngine;
using System.Collections; public class example : MonoBehaviour { public Color whiteColor = 2 * Color.gray; } import UnityEngine
import System.Collections class example(MonoBehaviour): public whiteColor as Color = (2 * Color.gray) |
