19 lines
440 B
C#
19 lines
440 B
C#
using UnityEngine;
|
|
using System.Collections;
|
|
|
|
namespace Pathfinding.Examples {
|
|
/// <summary>Helper script in the example scene 'Turn Based'</summary>
|
|
[HelpURL("https://arongranberg.com/astar/documentation/stable/astar3dbutton.html")]
|
|
public class Astar3DButton : MonoBehaviour {
|
|
public GraphNode node;
|
|
|
|
public void OnHover (bool hover) {
|
|
// TODO: Play animation
|
|
}
|
|
|
|
public void OnClick () {
|
|
// TODO: Play animation
|
|
}
|
|
}
|
|
}
|