Example #1
0
        public void Activate()
        {
            UpdateUIText?.Invoke(Message);
            EndUIText?.Invoke(DurationInSeconds);

            if (DestroyAfterShowing)
            {
                Invoke("Destroy", DurationInSeconds);
            }
        }
Example #2
0
 public void Deactivate()
 {
     UpdateUIText?.Invoke("");
 }