mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-18 17:34:45 +01:00
24 lines
414 B
C#
24 lines
414 B
C#
using UnityEngine;
|
|
|
|
namespace BehaviorDesigner.Runtime
|
|
{
|
|
public interface IBehavior
|
|
{
|
|
string GetOwnerName();
|
|
|
|
int GetInstanceID();
|
|
|
|
BehaviorSource GetBehaviorSource();
|
|
|
|
void SetBehaviorSource(BehaviorSource behaviorSource);
|
|
|
|
Object GetObject();
|
|
|
|
SharedVariable GetVariable(string name);
|
|
|
|
void SetVariable(string name, SharedVariable item);
|
|
|
|
void SetVariableValue(string name, object value);
|
|
}
|
|
}
|