local PirateComeScene = BaseClass("PirateComeScene")
local OnCreate = function(self, go)
  if go ~= nil then
    self.gameObject = go.gameObject
    self.transform = go.gameObject.transform
  end
  self:ComponentDefine()
  self:DataDefine()
end
local OnDestroy = function(self)
  self:ComponentDestroy()
  self:DataDestroy()
end
local ComponentDefine = function(self)
end
local ComponentDestroy = function(self)
  self.gameObject = nil
  self.transform = nil
end
local DataDefine = function(self)
  self.param = nil
end
local DataDestroy = function(self)
  self.param = nil
end
local ReInit = function(self, param)
  self.param = param
  self.transform.position = self.param.pos
end
PirateComeScene.OnCreate = OnCreate
PirateComeScene.OnDestroy = OnDestroy
PirateComeScene.ComponentDefine = ComponentDefine
PirateComeScene.ComponentDestroy = ComponentDestroy
PirateComeScene.DataDefine = DataDefine
PirateComeScene.DataDestroy = DataDestroy
PirateComeScene.ReInit = ReInit
return PirateComeScene
