///<inheritdoc cref="UIController.OnAnimateButPress(AnimateButEventArgs)"/>
 protected override void OnAnimateButPress(AnimateButEventArgs e)
 {
     base.OnAnimateButPress(e);
     Console.WriteLine("Make Animate Button Not Interactable After Press");
 }
Esempio n. 2
0
 /// <summary>
 /// Method For Raise Animate Button Event
 /// </summary>
 /// <param name="e">Argument for the event hendler</param>
 protected virtual void OnAnimateButPress(AnimateButEventArgs e) =>
 PressAnimateButEventHandler?.Invoke(this, e);
        ///<inheritdoc cref="UIController.PressAnimateBut"/>
        public override void PressAnimateBut()
        {
            var animateButArgs = new AnimateButEventArgs("This Animate But Event Call From Main Menu");

            OnAnimateButPress(animateButArgs);
        }