/// <summary>
 /// Sets up the component.
 /// </summary>
 public override void Awake()
 {
     base.Awake();
     FindControls();
     alert.DeactivateUIElements();
     dialogue.DeactivateUIElements();
     Tools.DeprecationWarning(this, "Use StandardDialogueUI instead.");
 }
 public void Awake()
 {
     canvas   = GetComponentInChildren <Canvas>();
     animator = GetComponentInChildren <Animator>();
     if ((animator == null) && (canvasGroup != null))
     {
         animator = canvasGroup.GetComponentInChildren <Animator>();
     }
     Tools.DeprecationWarning(this, "Use StandardBarkUI instead.");
 }
 public void Awake()
 {
     if (button == null)
     {
         button = GetComponent <UnityEngine.UI.Button>();
     }
     if (button == null)
     {
         Debug.LogWarning("Dialogue System: Response button '" + name + "' is missing a Unity UI Button component!", this);
     }
     Tools.DeprecationWarning(this);
 }
 public virtual void Awake()
 {
     if (dialogueUI == null)
     {
         dialogueUI = Tools.GetComponentAnywhere <UnityUIDialogueUI>(gameObject);
     }
     if (typewriterEffect == null)
     {
         typewriterEffect = GetComponentInChildren <UnityUITypewriterEffect>();
     }
     continueButton = GetComponent <UnityEngine.UI.Button>();
     Tools.DeprecationWarning(this);
 }
Esempio n. 5
0
 public void Awake()
 {
     canvas   = GetComponent <Canvas>();
     animator = GetComponent <Animator>();
     Tools.DeprecationWarning(this);
 }
Esempio n. 6
0
 public override void Awake()
 {
     base.Awake();
     Tools.DeprecationWarning(this);
 }
 private void Awake()
 {
     Tools.DeprecationWarning(this, "Use UILocalizationManager and LocalizeUI instead.");
 }
        private float startTime; // When the timer started.

        public virtual void Awake()
        {
            slider = GetComponent <UnityEngine.UI.Slider>();
            Tools.DeprecationWarning(this);
        }
 private void Awake()
 {
     instance = this;
     Tools.DeprecationWarning(this);
 }
 private void Awake()
 {
     Tools.DeprecationWarning(this, "Use StandardDialogueUI and DialogueActor, which make this script unnecessary.");
 }
Esempio n. 11
0
 private void Awake()
 {
     Tools.DeprecationWarning(this);
 }
 public void Awake()
 {
     control = GetComponent <UnityEngine.UI.Text>();
     Tools.DeprecationWarning(this);
 }
Esempio n. 13
0
 private void Awake()
 {
     Tools.DeprecationWarning(this, "Use LocalizeUI instead.");
 }