예제 #1
0
        void Awake()
        {
            this.gameObject.tag = "Interactable";
            this.Lua            = GetComponent <CpuComponent>();
            this.Buffer         = this.Lua.LuaScript;

            if (WindowRect == Rect.zero)
            {
                WindowRect = new Rect(Screen.width / 2 - 200, Screen.height / 2 - 200, 400, 400);
            }
        }
예제 #2
0
 public override void BeforePatch()
 {
     CpuComponent.Register();
 }