You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
570 B
23 lines
570 B
4 years ago
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
using AX.MessageSystem;
|
||
|
|
||
|
namespace AX.InputSystem
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 单选(选中)命令
|
||
|
/// </summary>
|
||
|
public class RadioSelectedCommand : Command
|
||
|
{
|
||
|
public static readonly RadioSelectedCommand Instance = new RadioSelectedCommand();
|
||
|
|
||
|
public override void Execute(long gameObjID, CmdArgs arg)
|
||
|
{
|
||
|
base.Execute(gameObjID, arg);
|
||
|
MessageDispatcher.SendMessage(gameObjID,"RADIO_SELECTED_COMMAND",arg);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|