Click or drag to resize

UnityUIPlayerControllerElementGlyph Class

Displays the controller element glyph(s) for a particular Action for a particular Player.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          Rewired.GlyphsControllerElementGlyphBase
            Rewired.Glyphs.UnityUIUnityUIControllerElementGlyphBase
              Rewired.Glyphs.UnityUIUnityUIPlayerControllerElementGlyphBase
                Rewired.Glyphs.UnityUIUnityUIPlayerControllerElementGlyph

Namespace: Rewired.Glyphs.UnityUI
Assembly: Rewired_Glyphs (in Rewired_Glyphs.dll) Version: 0.0.0.0
Syntax
C#
public class UnityUIPlayerControllerElementGlyph : UnityUIPlayerControllerElementGlyphBase

The UnityUIPlayerControllerElementGlyph type exposes the following members.

Constructors
 NameDescription
Public methodUnityUIPlayerControllerElementGlyphInitializes a new instance of the UnityUIPlayerControllerElementGlyph class
Top
Properties
 NameDescription
Public propertyaction1FirstPole Determines the display order of split-axis and button glyphs for the first Action. When two glyphs for a axis-type action are displayed, this determines which pole is displayed first.
(Inherited from UnityUIPlayerControllerElementGlyphBase)
Public propertyaction2FirstPole Determines the display order of split-axis and button glyphs for the second Action. When two glyphs for an axis-type action are displayed, this determines which pole is displayed first.
(Inherited from UnityUIPlayerControllerElementGlyphBase)
Public propertyactionId The Action id.
(Overrides UnityUIPlayerControllerElementGlyphBaseactionId)
Public propertyactionId2 The second Action id for 2D Actions. (Optional)
(Overrides UnityUIPlayerControllerElementGlyphBaseactionId2)
Public propertyactionName The Action name.
Public propertyactionName2 The second Action name for 2D Actions. (Optional)
Public propertyactionRange The range of the Action for which to show glyphs / text. This determines whether to show the glyph for an axis-type Action (ex: Move Horizontal), or the positive/negative pole of an Action (ex: Move Right). For button-type Actions, Full and Positive are equivalent. This value has no effect when displaying two Actions.
(Inherited from UnityUIPlayerControllerElementGlyphBase)
Public propertyallowedTypes Determines what types of objects are allowed.
(Inherited from ControllerElementGlyphBase)
Public propertyanimation
(Inherited from Component)
Obsolete
Public propertyaudio
(Inherited from Component)
Obsolete
Public propertycamera
(Inherited from Component)
Obsolete
Public propertycollider
(Inherited from Component)
Obsolete
Public propertycollider2D
(Inherited from Component)
Obsolete
Public propertyconstantForce
(Inherited from Component)
Obsolete
Public propertyenabled
(Inherited from Behaviour)
Public propertygameObject
(Inherited from Component)
Public propertyglyphOrTextPrefab If set, when glyph/text objects are created, they will be instantiated from this prefab. If left blank, the global default prefab will be used.
(Inherited from ControllerElementGlyphBase)
Public propertygroup1 Optional parent Transform of the first group of instantiated glyph / text objects. For a single Action query, if an axis-type Action is bound to multiple elements, the glyphs bound to the negative pole of the Action will be instantiated under this Transform. For a two Action query, if multiple glyphs are returned, the glyphs bound to the first Action will be instantiated under this Transform. If a single glyph is returned, it will be instantiated under this Transform as well. This allows you to separate results by negative / positive binding or Action 1 / Action 2 in order to stack glyph groups horizontally or vertically, for example. If an Action is only bound to one element, the glyph will be instantiated under this transform. If blank, objects will be created as children of this object's Transform.
(Inherited from UnityUIPlayerControllerElementGlyphBase)
Public propertygroup2 Optional parent Transform of the second group of instantiated glyph / text objects. For a single Action query, if an axis-type Action is bound to multiple elements, the glyphs bound to the positive pole of the Action will be instantiated under this Transform. For a two Action query, if multiple glyphs are returned, the glyphs bound to the second Action will be instantiated under this Transform unless there were no results found for the first Action, in which case they will be displayed under group1. Otherwise, if a single glyph is returned, it will be instantiated under group1. This allows you to separate results by negative / positive binding or Action 1 / Action 2 in order to stack glyph groups horizontally or vertically, for example. If an Action is only bound to one element, the glyph will be instantiated under group1 instead. If blank,If blank, objects will be created as children of either group1 if set or the object's Transform.
(Inherited from UnityUIPlayerControllerElementGlyphBase)
Public propertyguiElement
(Inherited from Component)
Obsolete
Public propertyguiText
(Inherited from Component)
Obsolete
Public propertyguiTexture
(Inherited from Component)
Obsolete
Public propertyhideFlags
(Inherited from Object)
Public propertyhingeJoint
(Inherited from Component)
Obsolete
Public propertyisActiveAndEnabled
(Inherited from Behaviour)
Public propertylight
(Inherited from Component)
Obsolete
Public propertyname
(Inherited from Object)
Public propertynetworkView
(Inherited from Component)
Obsolete
Public propertyoptions Optional reference to an object that defines options. If blank, the global default options will be used.
(Inherited from UnityUIPlayerControllerElementGlyphBase)
Public propertyparticleSystem
(Inherited from Component)
Obsolete
Public propertyplayerId The Player id.
(Overrides UnityUIPlayerControllerElementGlyphBaseplayerId)
Public propertyrenderer
(Inherited from Component)
Obsolete
Public propertyresult2dSelectionHandler Allows you to evaluate all the results and decide which to display for two Actions. This only works if combining two Actions. If using a single Action, use resultSelectionHandler instead. After searching for mappings in the Player and collecting all possible results, the handler will be invoked. This can be used, for example, to display the second result found instead of the first. It could also be used to choose results from any user-defined criteria such as controller type, controller map cateogry, etc. ActionElementMap for properties which can be used as selection criteria. The list contains all results from the search of Action Element Maps. Each result can contain one result for each Action. Each Action result can contain either one or two Action Element Maps. The number of Action Element Maps returned depends on the bindings found. If a full-axis binding is found, it will be returned in the [!:a] field. If negative and positive split-axis bindings are found instead, at least one Action Element Map will be returned in the [!:a] (negative) or [!:b] (positive) field.
(Inherited from UnityUIPlayerControllerElementGlyphBase)
Public propertyresultIndex The index of the result to return. This can be used to return, for example, the second matching glpyh(s) instead of the first found. This will be ignored if you are using a custom result selector.
(Inherited from UnityUIPlayerControllerElementGlyphBase)
Public propertyresultSelectionHandler Allows you to evaluate all the results and decide which to display. This only works for single Actions. If combining two Actions, use result2dSelectionHandler instead. After searching for mappings in the Player and collecting all possible results, the handler will be invoked. This can be used, for example, to display the second result found instead of the first. It could also be used to choose results from any user-defined criteria such as controller type, controller map cateogry, etc. ActionElementMap for properties which can be used as selection criteria. The list contains all results from the search of Action Element Maps given a particular Action Range. Each result can contain either one or two Action Element Maps. The number of Action Element Maps returned depends on the Action Range used for the search and the bindings found. For a full Action Range search, if a full-axis binding is found, it will be returned in the [!:a] field. If negative and positive split-axis bindings are found instead, at least one Action Element Map will be returned in the [!:a] (negative) or [!:b] (positive) field. For a positive/negative Action Range search, a single Action Element Map will be returned in the [!:a] field.
(Inherited from UnityUIPlayerControllerElementGlyphBase)
Public propertyrigidbody
(Inherited from Component)
Obsolete
Public propertyrigidbody2D
(Inherited from Component)
Obsolete
Public propertyrunInEditMode
(Inherited from MonoBehaviour)
Public propertytag
(Inherited from Component)
Public propertytransform
(Inherited from Component)
Public propertyuseGUILayout
(Inherited from MonoBehaviour)
Top
Methods
 NameDescription
Public methodBroadcastMessage(String)
(Inherited from Component)
Public methodBroadcastMessage(String, Object)
(Inherited from Component)
Public methodBroadcastMessage(String, SendMessageOptions)
(Inherited from Component)
Public methodBroadcastMessage(String, Object, SendMessageOptions)
(Inherited from Component)
Public methodCancelInvoke
(Inherited from MonoBehaviour)
Public methodCancelInvoke(String)
(Inherited from MonoBehaviour)
Public methodCompareTag
(Inherited from Component)
Public methodEquals
(Inherited from Object)
Public methodGetComponent(String)
(Inherited from Component)
Public methodGetComponent(Type)
(Inherited from Component)
Public methodGetComponent``1
(Inherited from Component)
Public methodGetComponentInChildren(Type)
(Inherited from Component)
Public methodGetComponentInChildren(Type, Boolean)
(Inherited from Component)
Public methodGetComponentInChildren``1
(Inherited from Component)
Public methodGetComponentInChildren``1(Boolean)
(Inherited from Component)
Public methodGetComponentInParent(Type)
(Inherited from Component)
Public methodGetComponentInParent``1
(Inherited from Component)
Public methodGetComponents(Type)
(Inherited from Component)
Public methodGetComponents(Type, ListComponent)
(Inherited from Component)
Public methodGetComponents``1
(Inherited from Component)
Public methodGetComponents``1(ListUMP)
(Inherited from Component)
Public methodGetComponentsInChildren(Type)
(Inherited from Component)
Public methodGetComponentsInChildren(Type, Boolean)
(Inherited from Component)
Public methodGetComponentsInChildren``1
(Inherited from Component)
Public methodGetComponentsInChildren``1(Boolean)
(Inherited from Component)
Public methodGetComponentsInChildren``1(ListUMP)
(Inherited from Component)
Public methodGetComponentsInChildren``1(Boolean, ListUMP)
(Inherited from Component)
Public methodGetComponentsInParent(Type)
(Inherited from Component)
Public methodGetComponentsInParent(Type, Boolean)
(Inherited from Component)
Public methodGetComponentsInParent``1
(Inherited from Component)
Public methodGetComponentsInParent``1(Boolean)
(Inherited from Component)
Public methodGetComponentsInParent``1(Boolean, ListUMP)
(Inherited from Component)
Public methodGetHashCode
(Inherited from Object)
Public methodGetInstanceID
(Inherited from Object)
Public methodInvoke
(Inherited from MonoBehaviour)
Public methodInvokeRepeating
(Inherited from MonoBehaviour)
Public methodIsInvoking
(Inherited from MonoBehaviour)
Public methodIsInvoking(String)
(Inherited from MonoBehaviour)
Public methodRequireRebuild Clears all instantiated glyph / text objects so they can be recreated from the prefab.
(Inherited from ControllerElementGlyphBase)
Public methodSendMessage(String)
(Inherited from Component)
Public methodSendMessage(String, Object)
(Inherited from Component)
Public methodSendMessage(String, SendMessageOptions)
(Inherited from Component)
Public methodSendMessage(String, Object, SendMessageOptions)
(Inherited from Component)
Public methodSendMessageUpwards(String)
(Inherited from Component)
Public methodSendMessageUpwards(String, Object)
(Inherited from Component)
Public methodSendMessageUpwards(String, SendMessageOptions)
(Inherited from Component)
Public methodSendMessageUpwards(String, Object, SendMessageOptions)
(Inherited from Component)
Public methodStartCoroutine(IEnumerator)
(Inherited from MonoBehaviour)
Public methodStartCoroutine(String)
(Inherited from MonoBehaviour)
Public methodStartCoroutine(String, Object)
(Inherited from MonoBehaviour)
Public methodStartCoroutine_Auto
(Inherited from MonoBehaviour)
Obsolete
Public methodStopAllCoroutines
(Inherited from MonoBehaviour)
Public methodStopCoroutine(Coroutine)
(Inherited from MonoBehaviour)
Public methodStopCoroutine(IEnumerator)
(Inherited from MonoBehaviour)
Public methodStopCoroutine(String)
(Inherited from MonoBehaviour)
Public methodToString
(Inherited from Object)
Top
See Also