Skip to content

TutorialAdvisorPanel

Graydon edited this page Mar 21, 2017 · 6 revisions

public class TutorialAdvisorPanel

Base Class: UICustomControl

Fields

public AudioClip m_NotificationSound
public Transform m_LocationHelperOthers
public Transform m_LocationHelper169
public float m_ShowHideTime
private string m_DefaultMessage
protected UIComponent m_TSBar
protected UIComponent m_TSContainer
private float m_LastShown
private float m_Timeout
private bool m_IsClosing
private bool m_IsFadingOut
private UIMultiStateButton m_Trigger
private BindPropertyByKey m_Bindings
private Vector2 m_StartSize
private UISprite m_Sprite
private static TutorialAdvisorPanel sInstance

Properties

public bool isVisible { get; }
public static TutorialAdvisorPanel instance { get; }
private Vector3 desiredPosition { get; }
private Vector2 desiredSize { get; }
public bool isOpen { get; }

Methods

public static string GetSpriteName(string name)
private void OnLevelLoaded(UpdateMode mode)
private void OnEnable()
private void OnDisable()
private void Awake()
private void OnDestroy()
private void Start()
private void OnResolutionChanged(UIComponent comp, Vector2 previousResolution, Vector2 currentResolution)
public void SetBindings(string info)
public UIComponent Show()
public void ShowWelcome()
public UIComponent Refresh(string info)
public UIComponent Show(string info, float timeout)
public UIComponent Show(string info, float timeout, bool dontUpdate, bool hasAudio)
public UIComponent Hide()
public void OnClose()
public void SetTimeout(float timeout)
public void OnMouseHover(UIComponent comp, UIMouseEventParameter p)
private void LateUpdate()
private void OnKeyDown(UIComponent comp, UIKeyEventParameter p)

Clone this wiki locally