public override bool ActionStart() { if (chase == false) { anim_comp.PlayAnimationNode("Patrol"); anim_comp.SetFirstActiveBlendingClip("Idle"); } else { anim_comp.PlayAnimationNode("Chase"); anim_comp.SetFirstActiveBlendingClip("IdleAttack"); if (moving_sideways == true) { MoveSideways(path[0]); } } if (path.Count != 0) { tile = new PathNode(0, 0); tile.SetCoords(path[0].GetTileX(), path[0].GetTileY()); } fx_played = false; return(true); }