You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using SampleBehavirTree;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
public class BehaviourCtrl:MonoBehaviour
|
|
|
|
|
{
|
|
|
|
|
public static BehaviourCtrl Instance;
|
|
|
|
|
|
|
|
|
|
public static void Init()
|
|
|
|
|
{
|
|
|
|
|
var go = new GameObject("BehaviourTreeCtrl");
|
|
|
|
|
Instance= go.AddComponent<BehaviourCtrl>();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|