docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Not (Logic)

    Menu Path : Operator > Logic > Not

    The Not Operator takes a single input and outputs the result of a logical not operation. The result of Not A is true if A is false. This Operator is equivalent to the C# ! operator.

    Operator properties

    Input Type Description
    A bool The value this Operator evaluates. If this is false, then o is true.
    Output Type Description
    o bool If A true, this value is false. Otherwise, if A is false this value is true.
    In This Article
    Back to top
    Copyright © 2025 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)