PGRData/Resources/Scripts/XUi/XUiChessPursuit/XScene/XChessPursuitCube.lua
2022-12-26 14:06:01 +05:30

16 lines
No EOL
593 B
Lua

local XChessPursuitModel = require("XUi/XUiChessPursuit/XScene/XChessPursuitModel")
local XChessPursuitCube = XClass(XChessPursuitModel, "XChessPursuitCube")
function XChessPursuitCube:Ctor(gameObject)
self.GameObject = gameObject
self.Transform = gameObject.transform
self.CSXChessPursuitModel = gameObject:GetComponent(typeof(CS.XChessPursuitCube))
self.CSXChessPursuitModel:SetXChessPursuitCtrl(XChessPursuitCtrl.GetCSXChessPursuitCtrlCom())
end
function XChessPursuitCube:Dispose()
self.Func = nil
self.CSXChessPursuitModel:Dispose()
end
return XChessPursuitCube