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.
26 lines
578 B
26 lines
578 B
8 years ago
|
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();
|
||
|
}
|
||
|
}
|