docs.unity3d.com
    Show / Hide Table of Contents

    Class PositionConfiguration

    Configuration for the position of the RuntimeNetStatsMonitor on screen

    Inheritance
    Object
    PositionConfiguration
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Multiplayer.Tools.NetStatsMonitor
    Syntax
    [Serializable]
    public class PositionConfiguration

    Properties

    OverridePosition

    If enabled, the position here will override the position set by the USS styling. Disable this options if you would like to use the position from the USS styling instead.

    Declaration
    public bool OverridePosition { get; set; }
    Property Value
    Type Description
    Boolean

    PositionLeftToRight

    The position of the Net Stats Monitor from left to right in the range from 0 to 1. 0 is flush left, 0.5 is centered, and 1 is flush right.

    Declaration
    public float PositionLeftToRight { get; set; }
    Property Value
    Type Description
    Single

    PositionTopToBottom

    The position of the Net Stats Monitor from top to bottom in the range from 0 to 1. 0 is flush to the top, 0.5 is centered, and 1 is flush to the bottom.

    Declaration
    public float PositionTopToBottom { get; set; }
    Property Value
    Type Description
    Single
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 26 October 2023