docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct TestPrimitiveContainer

    Simple struct container.

    Layout and field offsets are used here since we are NOT using codegen or reflection.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Properties.Tests
    Assembly: Unity.Properties.Tests.dll
    Syntax
    public struct TestPrimitiveContainer

    Fields

    BoolValue

    Declaration
    public bool BoolValue
    Field Value
    Type Description
    bool

    FlagsEnum

    Declaration
    public FlagsEnum FlagsEnum
    Field Value
    Type Description
    FlagsEnum

    Float32Value

    Declaration
    public float Float32Value
    Field Value
    Type Description
    float

    Float64Value

    Declaration
    public double Float64Value
    Field Value
    Type Description
    double

    Int16Value

    Declaration
    public short Int16Value
    Field Value
    Type Description
    short

    Int32Value

    Declaration
    public int Int32Value
    Field Value
    Type Description
    int

    Int64Value

    Declaration
    public long Int64Value
    Field Value
    Type Description
    long

    Int8Value

    Declaration
    public sbyte Int8Value
    Field Value
    Type Description
    sbyte

    SmallEnum

    Declaration
    public SmallEnum SmallEnum
    Field Value
    Type Description
    SmallEnum

    UInt16Value

    Declaration
    public ushort UInt16Value
    Field Value
    Type Description
    ushort

    UInt32Value

    Declaration
    public uint UInt32Value
    Field Value
    Type Description
    uint

    UInt64Value

    Declaration
    public ulong UInt64Value
    Field Value
    Type Description
    ulong

    UInt8Value

    Declaration
    public byte UInt8Value
    Field Value
    Type Description
    byte

    UnorderedIntEnum

    Declaration
    public UnorderedIntEnum UnorderedIntEnum
    Field Value
    Type Description
    UnorderedIntEnum
    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)