场景模块支持拖拽文件事件

This commit is contained in:
MrZ626
2021-05-03 01:54:12 +08:00
parent 445b0167fa
commit d605e5fbb8
2 changed files with 5 additions and 0 deletions

View File

@@ -326,6 +326,9 @@ end
function love.sendData(data)end
function love.receiveData(id,data)end
]]
function love.filedropped(file)
if SCN.fileDropped then SCN.fileDropped(file)end
end
local lastGCtime=0
function love.lowmemory()
if TIME()-lastGCtime>6.26 then