From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../Assets/Scripts/XUtliPoolLib/IXBehaviorTree.cs | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Client/Assets/Scripts/XUtliPoolLib/IXBehaviorTree.cs (limited to 'Client/Assets/Scripts/XUtliPoolLib/IXBehaviorTree.cs') diff --git a/Client/Assets/Scripts/XUtliPoolLib/IXBehaviorTree.cs b/Client/Assets/Scripts/XUtliPoolLib/IXBehaviorTree.cs new file mode 100644 index 00000000..d9bf52f8 --- /dev/null +++ b/Client/Assets/Scripts/XUtliPoolLib/IXBehaviorTree.cs @@ -0,0 +1,40 @@ +using System; +using UnityEngine; + +namespace XUtliPoolLib +{ + public interface IXBehaviorTree : IXInterface + { + void OnStartSkill(uint skillid); + + void OnEndSkill(uint skillid); + + void OnSkillHurt(); + + void EnableBehaviorTree(bool enable); + + void SetManual(bool enable); + + float OnGetHeartRate(); + + void TickBehaviorTree(); + + bool SetBehaviorTree(string location); + + void SetNavPoint(Transform navpoint); + + void SetVariable(string name, object value); + + void SetIntByName(string name, int value); + + void SetFloatByName(string name, float value); + + void SetBoolByName(string name, bool value); + + void SetVector3ByName(string name, Vector3 value); + + void SetTransformByName(string name, Transform value); + + void SetXGameObjectByName(string name, XGameObject value); + } +} -- cgit v1.1-26-g67d0