public RepositoryQueryArgumentsModel() { this.repositoryType = 0; this.repositoryName = null; this.countPerPage = null; this.typeArgument = TypeArgument.Unused; this.sortArgument = SortArgument.Unused; this.directionArgument = DirectionArgument.Unused; }
public void lunchHook(AIStateController controller) { //lunch hook here DirectionArgument dir = new DirectionArgument(); Vector3 target = controller.chaseTarget [0].transform.position; Vector3 selfpos = controller.transform.position; dir.direction = target - selfpos; dir.direction.y = 0.0f; controller.character.Perform("Hook", controller.gameObject, dir); }
void HookMethod(GameObject sender, ActionArgument args) { if (!hasHook) { return; } if (GetComponent <AICharacter>() != null) { DirectionArgument dirc = (DirectionArgument)args; CmdHook(dirc.direction.normalized); return; } else { CmdHook(transform.forward); // was implemented to add flicking support for human players character.SwitchCoroutine(StartCoroutine(_ThrowHookDelayPlayer(transform.forward, hookSpellTime))); } }