Christopher
8 years ago
3 changed files with 45 additions and 2 deletions
@ -0,0 +1,25 @@
|
||||
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(); |
||||
} |
||||
} |
@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2 |
||||
guid: 75ff90e0b811142d39cc9031dbf4b992 |
||||
timeCreated: 1473856441 |
||||
licenseType: Free |
||||
MonoImporter: |
||||
serializedVersion: 2 |
||||
defaultReferences: [] |
||||
executionOrder: 0 |
||||
icon: {instanceID: 0} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
Loading…
Reference in new issue