场景模块支持directoryDropped事件

This commit is contained in:
MrZ626
2021-05-09 21:22:39 +08:00
parent 7ff13b286e
commit 2663e4d629
2 changed files with 5 additions and 0 deletions

View File

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