public static CreateLocalCommand ( ClientCommand clientCommand ) : |
||
clientCommand | ClientCommand | |
return |
public static Command CreateLocalCommand(ClientCommand clientCommand)
{
return CreateLocalCommand(null, clientCommand, ExecutionFrequency.FullUpdate60Hz);
}
Command::CreateLocalCommand ( ClientCommand clientCommand, ExecutionFrequency frequency ) : |
|
Command::CreateLocalCommand ( System.Condition condition, ClientCommand clientCommand ) : |
|
Command::CreateLocalCommand ( System.Condition condition, ClientCommand clientCommand, ExecutionFrequency frequency ) : |
/// <summary> /// Adds a Command to this behavior that will be executed solely on the client /// </summary> /// <param name="clientCommand">The delegate to the code that will be executed by the client</param> /// <param name="condition"></param> protected void AddLocalCommand(Condition condition, Command.ClientCommand clientCommand) { AddCommand(Command.CreateLocalCommand(condition, clientCommand)); }