summaryrefslogtreecommitdiff
path: root/Client/Assets/Behavior Designer/Runtime/Actions/Idle.cs
blob: 04574a79d5a811ab2288a760c5ce4232fdacb304 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using UnityEngine;

namespace BehaviorDesigner.Runtime.Tasks
{
    [TaskDescription("Returns a TaskStatus of running. Will only stop when interrupted or a conditional abort is triggered.")]
    [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=112")]
    [TaskIcon("{SkinColor}IdleIcon.png")]
    public class Idle : Action
    {
        public override TaskStatus OnUpdate()
        {
            return TaskStatus.Running;
        }
    }
}