remove cameras of movie on cleanup
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# @install: lix --silent download "gh://github.com/kiss-lang/kiss-flixel#da3423f737df343dfc1bc89e090adb040cc0f2c8" into kiss-flixel/0.0.0/github/da3423f737df343dfc1bc89e090adb040cc0f2c8
|
# @install: lix --silent download "gh://github.com/kiss-lang/kiss-flixel#0e8fe595b8af0f49d31a3307edaf77ed7ed17f90" into kiss-flixel/0.0.0/github/0e8fe595b8af0f49d31a3307edaf77ed7ed17f90
|
||||||
-lib flixel
|
-lib flixel
|
||||||
-lib flixel-addons
|
-lib flixel-addons
|
||||||
-lib flixel-ui
|
-lib flixel-ui
|
||||||
@@ -6,5 +6,5 @@
|
|||||||
-lib kiss-tools
|
-lib kiss-tools
|
||||||
-lib lime
|
-lib lime
|
||||||
-lib openfl
|
-lib openfl
|
||||||
-cp ${HAXE_LIBCACHE}/kiss-flixel/0.0.0/github/da3423f737df343dfc1bc89e090adb040cc0f2c8/src/
|
-cp ${HAXE_LIBCACHE}/kiss-flixel/0.0.0/github/0e8fe595b8af0f49d31a3307edaf77ed7ed17f90/src/
|
||||||
-D kiss-flixel=0.0.0
|
-D kiss-flixel=0.0.0
|
||||||
@@ -529,6 +529,8 @@
|
|||||||
(destroyAndClear sounds)
|
(destroyAndClear sounds)
|
||||||
(destroyAndClear voiceTracks)
|
(destroyAndClear voiceTracks)
|
||||||
(destroyAndClear songs)
|
(destroyAndClear songs)
|
||||||
|
(flixel.FlxG.cameras.remove uiCamera true)
|
||||||
|
(flixel.FlxG.cameras.remove screenCamera true)
|
||||||
|
|
||||||
// I hope this disposes of references to actors, props, sets, etc.:
|
// I hope this disposes of references to actors, props, sets, etc.:
|
||||||
(scenes.clear)
|
(scenes.clear)
|
||||||
|
|||||||
Reference in New Issue
Block a user