// *********************************************************************** // Assembly : Game // Author : Kimch // Created : 2021-08-26 // Description : 记录点击事件 // Last Modified By : // Last Modified On : // *********************************************************************** // // // *********************************************************************** using System.Collections; using System.Collections.Generic; using PureMVC.Interfaces; using UnityEngine; namespace G { /// /// 按钮点击 /// public class ButtonClickCommand : F.GameCommand { public override void Execute(INotification notification) { KStatistics.Instance.ReportButtonClick(notification.Type, notification.Body as string); } static readonly ButtonClickCommand _Default = new ButtonClickCommand(); public static ButtonClickCommand CreateCommand() { return _Default; } } }