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.
25 lines
578 B
25 lines
578 B
using UnityEngine; |
|
|
|
namespace Fungus |
|
{ |
|
/// <summary> |
|
/// A Fungus variable that can be used with Commands. |
|
/// </summary> |
|
public interface IVariable |
|
{ |
|
/// <summary> |
|
/// Visibility scope for the variable. |
|
/// </summary> |
|
VariableScope Scope { get; } |
|
|
|
/// <summary> |
|
/// String identifier for the variable. |
|
/// </summary> |
|
string Key { get; set; } |
|
|
|
/// <summary> |
|
/// Callback to reset the variable if the Flowchart is reset. |
|
/// </summary> |
|
void OnReset(); |
|
} |
|
}
|
|
|