Пример #1
0
 public RotateCharacterToTargetIsNeed(CharacterTaskRunner manager) : base(manager)
 {
     isNeedUpdate = true;
     isBreakable  = true;
 }
Пример #2
0
 public void Awake()
 {
     character   = GetComponent <Character>();
     taskRunner  = new CharacterTaskRunner(character);
     taskCreator = new ChararcterTaskCreator(taskRunner);
 }
Пример #3
0
 protected CharacterTask(CharacterTaskRunner manager)
 {
     this.characterTaskManager = manager;
     character = characterTaskManager.character;
 }
Пример #4
0
 public MoveNavAgentCharacter(CharacterTaskRunner manager) : base(manager)
 {
     navMesh      = manager.character.GetComponent <NavMeshAgent>();
     isNeedUpdate = true;
     isBreakable  = true;
 }
Пример #5
0
 public CharacterCastSkill(CharacterTaskRunner manager) : base(manager)
 {
     isNeedUpdate = false;
     isBreakable  = true;
 }
Пример #6
0
 public ChararcterTaskCreator(CharacterTaskRunner runner)
 {
     this.runner = runner;
 }