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.
22 lines
538 B
22 lines
538 B
using UnityEngine; |
|
using System.Collections; |
|
using System; |
|
using AX.MessageSystem; |
|
|
|
namespace AX.InputSystem |
|
{ |
|
/// <summary> |
|
/// 鼠标左键单击寻路命令 |
|
/// </summary> |
|
public class PathFindingCommand : Command |
|
{ |
|
public static readonly PathFindingCommand Instance = new PathFindingCommand(); |
|
public override void Execute(long gameObjID, CmdArgs arg) |
|
{ |
|
base.Execute(gameObjID, arg); |
|
|
|
MessageDispatcher.SendMessage("PATH_FINDING_COMMAND",arg); |
|
} |
|
} |
|
} |
|
|
|
|