Skip to content

PhysicsMatrixUI

Tommo J. Phillips edited this page Oct 22, 2023 · 2 revisions

PhysicsMatrixUI

Namespace: TommoJProductions.ModApi

Represents the Physics matrix UI

public class PhysicsMatrixUI : UnityEngine.MonoBehaviour

Inheritance Object → Object → Component → Behaviour → MonoBehaviour → PhysicsMatrixUI

Properties

xLine

Represents the x line of toggles in a jaggered array. Rank 1 represents all layers (0 - 31). Rank 2 represents all the toggles (UI Element) that are in the same layer (rank 1 index) and on the x axis.

public static Toggle[][] xLine { get; }

Property Value

Toggle[][]

yLine

Represents the y line of toggles in a jaggered array. Rank 1 represents all layers (0 - 31). Rank 2 represents all the toggles (UI Element) that are in the same layer (rank 1 index) and on the y axis.

public static Toggle[][] yLine { get; }

Property Value

Toggle[][]

useGUILayout

public bool useGUILayout { get; set; }

Property Value

Boolean

enabled

public bool enabled { get; set; }

Property Value

Boolean

isActiveAndEnabled

public bool isActiveAndEnabled { get; }

Property Value

Boolean

transform

public Transform transform { get; }

Property Value

Transform

gameObject

public GameObject gameObject { get; }

Property Value

GameObject

tag

public string tag { get; set; }

Property Value

String

name

public string name { get; set; }

Property Value

String

hideFlags

public HideFlags hideFlags { get; set; }

Property Value

HideFlags

Constructors

PhysicsMatrixUI()

public PhysicsMatrixUI()

Methods

getLayerName(Int32)

Gets the layers name, if the layer has no name, uses "Layer" appened by the layers index.

public static string getLayerName(int layer)

Parameters

layer Int32
The layer index to get the name. (0 - 31)

Returns

String

Clone this wiki locally