update CCK to 3.10, fixing unity 2021 crash :)
This commit is contained in:
parent
48a978fa2a
commit
d11e0fb3a9
492 changed files with 2165204 additions and 437687 deletions
18
Assets/ABI.CCK/Scripts/Editor/Tools/CreateLuaScript.cs
Executable file
18
Assets/ABI.CCK/Scripts/Editor/Tools/CreateLuaScript.cs
Executable file
|
@ -0,0 +1,18 @@
|
|||
|
||||
using UnityEditor;
|
||||
|
||||
namespace ABI.CCK.Scripts.Editor.Tools
|
||||
{
|
||||
public static class LuaScriptCreator
|
||||
{
|
||||
private const string kLuaScriptTemplatePath = "Assets/ABI.CCK/Templates/LuaScriptTemplate.lua";
|
||||
private const string kLuaScriptDefaultName = "NewLuaScript.lua";
|
||||
|
||||
[MenuItem("Assets/Create/CVR Lua Script", priority = 0)]
|
||||
public static void CreateLuaScript()
|
||||
{
|
||||
ProjectWindowUtil.CreateScriptAssetFromTemplateFile(
|
||||
kLuaScriptTemplatePath, kLuaScriptDefaultName);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue