Ejemplo n.º 1
0
 public void EnterAttackGraph(PlayerAttackGraph graph, CombatNode startNode = null)
 {
     if (attackGraph == graph && startNode == null)
     {
         return;
     }
     attackGraph = graph;
     attackGraph.Initialize(anim, GetComponent <AttackBuffer>(), rb2d, airAttackTracker);
     attackGraph.EnterGraph(startNode);
 }
Ejemplo n.º 2
0
 virtual public void OnNodeEnter()
 {
     attackGraph = this.graph as PlayerAttackGraph;
     active      = true;
 }
Ejemplo n.º 3
0
 public void ExitAttackGraph()
 {
     attackGraph = null;
 }
Ejemplo n.º 4
0
 virtual public void OnNodeEnter()
 {
     attackGraph = this.graph as PlayerAttackGraph;
     active      = true;
     attackGraph.playerController.OnAttackNodeEnter();
 }