BehaviourTitle

Specify the name displayed in the behaviour's title bar.

Example

Script

Create a script named TestBehaviourTitle and write the following code.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using Arbor;

[BehaviourTitle("Manual Example")]
[AddComponentMenu("")]
public class TestBehaviourTitle : StateBehaviour
{
}

Operation check

Select “Scripts / TestBehaviourTitle” from the “Add Behaviour” of the state and check the title bar of the behavior.