mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class ColorChangerUnityUI

    Change the color of the material on a UnityUI Graphic (ex. Image). Useful for visualizing button presses.

    Inheritance
    Object
    ColorChangerUnityUI
    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
    In This Article
    • Methods
      • RandomColor()
      • RandomColor()
    • Implements
    Back to top Generated by DocFX