mirror of
https://github.com/Insality/druid
synced 2025-09-27 18:12:21 +02:00
Solve #182 add table pool for events
This commit is contained in:
@@ -115,6 +115,16 @@ function StaticGrid.init(self, parent, element, in_row)
|
||||
end
|
||||
|
||||
|
||||
function StaticGrid.on_internal_remove(self)
|
||||
component.on_internal_remove(self)
|
||||
self.on_add_item:clear()
|
||||
self.on_remove_item:clear()
|
||||
self.on_change_items:clear()
|
||||
self.on_clear:clear()
|
||||
self.on_update_positions:clear()
|
||||
end
|
||||
|
||||
|
||||
local _temp_pos = vmath.vector3(0)
|
||||
--- Return pos for grid node index
|
||||
-- @tparam StaticGrid self @{StaticGrid}
|
||||
|
Reference in New Issue
Block a user