add
This commit is contained in:
parent
558f423d9a
commit
c16e71b11b
@ -60,7 +60,9 @@ public class Role : Fun
|
||||
if (Application.isPlaying)
|
||||
{
|
||||
UpdateBuff();
|
||||
Navigation.MoveToNextWaypoint(gameObject);
|
||||
}
|
||||
|
||||
updateAnimation();
|
||||
}
|
||||
/// <summary>
|
||||
@ -83,7 +85,7 @@ public class Role : Fun
|
||||
else if (animationHighlight < 0) {
|
||||
animationHighlight = 0;
|
||||
}
|
||||
EditorUtility.SetDirty(this);
|
||||
//EditorUtility.SetDirty(this);
|
||||
List<Sprite> LightSprite = AnimationTree[animationHighlight].value;
|
||||
if (LightSprite == null )
|
||||
{
|
||||
|
@ -15,7 +15,7 @@
|
||||
// MoveToNextWaypoint();
|
||||
//}
|
||||
|
||||
void MoveToNextWaypoint(GameObject gameObject)
|
||||
public void MoveToNextWaypoint(GameObject gameObject)
|
||||
{
|
||||
if (currentWaypointIndex < waypoints.Length)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user