20 lines
555 B
C#
20 lines
555 B
C#
using LuaInterface;
|
|
using UnityEngine;
|
|
|
|
namespace CSUI
|
|
{
|
|
public class StoryMgr
|
|
{
|
|
private LuaFunction _G_StoryMgr_StartStorySection;
|
|
|
|
public bool StartStorySection(int storySection, Vector2 pos)
|
|
{
|
|
if (_G_StoryMgr_StartStorySection == null)
|
|
{
|
|
_G_StoryMgr_StartStorySection = LuaMgr.Instance.luaState.GetFunction("_G_StoryMgr_StartStorySection");
|
|
}
|
|
|
|
return _G_StoryMgr_StartStorySection.Invoke<int, Vector2, bool>(storySection, pos);
|
|
}
|
|
}
|
|
} |