Class ColorChangerUnityUI
Change the color of the material on a UnityUI Graphic (ex. Image). Useful for visualizing button presses.
Implements
MonoBehaviour
Namespace: Microsoft.MixedReality.Toolkit.Examples.Demos
Assembly: cs.temp.dll.dll
Syntax
public class ColorChangerUnityUI : MonoBehaviour, MonoBehaviour
Methods
RandomColor()
Sets a random color on the renderer's material.
Declaration
public void RandomColor()
RandomColor()
Sets a random color on the renderer's material.
Declaration
public void RandomColor()
Implements
MonoBehaviour