-
Notifications
You must be signed in to change notification settings - Fork 17
PhysicsMatrixUI
Tommo J. Phillips edited this page Oct 22, 2023
·
2 revisions
Namespace: TommoJProductions.ModApi
Represents the Physics matrix UI
public class PhysicsMatrixUI : UnityEngine.MonoBehaviour
Inheritance Object → Object → Component → Behaviour → MonoBehaviour → PhysicsMatrixUI
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; }
Toggle[][]
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; }
Toggle[][]
public bool useGUILayout { get; set; }
public bool enabled { get; set; }
public bool isActiveAndEnabled { get; }
public Transform transform { get; }
Transform
public GameObject gameObject { get; }
GameObject
public string tag { get; set; }
public string name { get; set; }
public HideFlags hideFlags { get; set; }
HideFlags
public PhysicsMatrixUI()
Gets the layers name, if the layer has no name, uses "Layer" appened by the layers index.
public static string getLayerName(int layer)
layer
Int32
The layer index to get the name. (0 - 31)