docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method SetTint

    SetTint(bool)

    Apply or remove a tint to all Renderers used for tinting.

    Declaration
    protected virtual void SetTint(bool on)
    Parameters
    Type Name Description
    bool on

    Whether to apply a tint when true, or remove the tint when false.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)