|
|
@ -2,6 +2,8 @@ |
|
|
|
using UnityEditor.Experimental.AssetImporters; |
|
|
|
using UnityEditor.Experimental.AssetImporters; |
|
|
|
using System.IO; |
|
|
|
using System.IO; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace Fungus.EditorUtils |
|
|
|
|
|
|
|
{ |
|
|
|
[ScriptedImporter(1, "lua")] |
|
|
|
[ScriptedImporter(1, "lua")] |
|
|
|
public class LuaScriptedImporter : ScriptedImporter |
|
|
|
public class LuaScriptedImporter : ScriptedImporter |
|
|
|
{ |
|
|
|
{ |
|
|
@ -12,3 +14,4 @@ public class LuaScriptedImporter : ScriptedImporter |
|
|
|
ctx.SetMainObject(lua); |
|
|
|
ctx.SetMainObject(lua); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |