Replaces the Selector/ProximitySelector's OnGUI method with a method that enables or disables new Unity UI controls. More...
Classes | |
class | AnimationTransitions |
Public Member Functions | |
void | Awake () |
void | Start () |
void | Show (string useMessage) |
void | Hide () |
void | OnBarkStart (Transform actor) |
void | OnConversationStart (Transform actor) |
void | UpdateDisplay (bool inRange) |
Public Attributes | |
UnityEngine.UI.Text | nameText = null |
The text for the name of the current selection. More... | |
UnityEngine.UI.Text | useMessageText = null |
The text for the use message (e.g., "Press spacebar to use"). More... | |
Color | inRangeColor = Color.yellow |
Color | outOfRangeColor = Color.gray |
UnityEngine.UI.Graphic | reticleInRange = null |
The graphic to show if the selection is in range. More... | |
UnityEngine.UI.Graphic | reticleOutOfRange = null |
The graphic to show if the selection is out of range. More... | |
AnimationTransitions | animationTransitions = new AnimationTransitions() |
Replaces the Selector/ProximitySelector's OnGUI method with a method that enables or disables new Unity UI controls.
void PixelCrushers.DialogueSystem.UsableUnityUI.Awake | ( | ) |
void PixelCrushers.DialogueSystem.UsableUnityUI.Hide | ( | ) |
void PixelCrushers.DialogueSystem.UsableUnityUI.OnBarkStart | ( | Transform | actor | ) |
void PixelCrushers.DialogueSystem.UsableUnityUI.OnConversationStart | ( | Transform | actor | ) |
void PixelCrushers.DialogueSystem.UsableUnityUI.Show | ( | string | useMessage | ) |
void PixelCrushers.DialogueSystem.UsableUnityUI.Start | ( | ) |
void PixelCrushers.DialogueSystem.UsableUnityUI.UpdateDisplay | ( | bool | inRange | ) |
AnimationTransitions PixelCrushers.DialogueSystem.UsableUnityUI.animationTransitions = new AnimationTransitions() |
Color PixelCrushers.DialogueSystem.UsableUnityUI.inRangeColor = Color.yellow |
UnityEngine.UI.Text PixelCrushers.DialogueSystem.UsableUnityUI.nameText = null |
The text for the name of the current selection.
Color PixelCrushers.DialogueSystem.UsableUnityUI.outOfRangeColor = Color.gray |
UnityEngine.UI.Graphic PixelCrushers.DialogueSystem.UsableUnityUI.reticleInRange = null |
The graphic to show if the selection is in range.
UnityEngine.UI.Graphic PixelCrushers.DialogueSystem.UsableUnityUI.reticleOutOfRange = null |
The graphic to show if the selection is out of range.
UnityEngine.UI.Text PixelCrushers.DialogueSystem.UsableUnityUI.useMessageText = null |
The text for the use message (e.g., "Press spacebar to use").