docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct Value

    Implements
    IEquatable<Value>
    Inherited Members
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Runtime
    Assembly: solution.dll
    Syntax
    [Serializable]
    public struct Value : IEquatable<Value>

    Fields

    Name Description
    Type

    Properties

    Name Description
    Bool
    Entity
    Float
    Float2
    Float3
    Float4
    Int
    Quaternion
    StringReference

    Methods

    Name Description
    CanConvert(ValueType, ValueType, bool)
    Equals(Value)

    Indicates whether the current object is equal to another object of the same type.

    Equals(object)

    Indicates whether this instance and a specified object are equal.

    FromPtr(void*, ValueType)
    GetHashCode()

    Returns the hash code for this instance.

    SetPtrToValue(void*, ValueType, Value)
    ToPrettyString()
    ToString()

    Returns the fully qualified type name of this instance.

    Operators

    Name Description
    implicit operator Value(StringReference)
    implicit operator Value(bool)
    implicit operator Value(int)
    implicit operator Value(float)
    implicit operator Value(Entity)
    implicit operator Value(float2)
    implicit operator Value(float3)
    implicit operator Value(float4)
    implicit operator Value(quaternion)

    Extension Methods

    IVisualScriptingEventReceiverJobExtensions.Schedule<TJob, TEvent>(TJob, VisualScriptingEventSystem, JobHandle)
    In This Article
    Back to top
    Copyright © 2024 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)