Browse Source

Encapsulated scripted importer in Fungus.EditorUtils namespace

master
Matthew Barnes 5 years ago
parent
commit
219c10b464
  1. 3
      Assets/Fungus/Scripts/Editor/LuaScriptedImporter.cs

3
Assets/Fungus/Scripts/Editor/LuaScriptedImporter.cs

@ -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);
} }
} }
}
Loading…
Cancel
Save