Christopher
8 years ago
15 changed files with 114 additions and 80 deletions
@ -0,0 +1,23 @@
|
||||
// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). |
||||
// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) |
||||
|
||||
using UnityEngine; |
||||
|
||||
namespace Fungus |
||||
{ |
||||
/// <summary> |
||||
/// Helper class used to extend the initialization behavior of LuaEnvironment. |
||||
/// </summary> |
||||
public abstract class LuaEnvironmentInitializer : MonoBehaviour |
||||
{ |
||||
/// <summary> |
||||
/// Called when the LuaEnvironment is initializing. |
||||
/// </summary> |
||||
public abstract void Initialize(); |
||||
|
||||
/// <summary> |
||||
/// Applies transformations to the input script prior to execution. |
||||
/// </summary> |
||||
public abstract string PreprocessScript(string input); |
||||
} |
||||
} |
@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2 |
||||
guid: d585353af4b94484eb72d5bb5fd00c4d |
||||
timeCreated: 1474295608 |
||||
licenseType: Free |
||||
MonoImporter: |
||||
serializedVersion: 2 |
||||
defaultReferences: [] |
||||
executionOrder: 0 |
||||
icon: {instanceID: 0} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
Loading…
Reference in new issue