Main.lua.txt 518 B

123456789101112131415161718192021222324252627
  1. function Start()
  2. require("CSharpLua.Classloader")
  3. require("ETTask")
  4. require("CustomAttribute")
  5. require("Model.manifest")("Model")
  6. require("ModelView.manifest")("ModelView")
  7. require("Hotfix.manifest")("Hotfix")
  8. require("HotfixView.manifest")("HotfixView")
  9. print("1111111111111111111111")
  10. ET.GameStart.Start()
  11. end
  12. function Update()
  13. ET.Game.Update()
  14. end
  15. function LateUpdate()
  16. ET.Game.LateUpdate()
  17. end
  18. function OnApplicationQuit()
  19. ET.Game.Close()
  20. end
  21. return Start