16 lines
478 B
C#
16 lines
478 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);
|
||
|
|
}
|
||
|
|
}
|