Преглед изворни кода

Entity now calls Destroyed() when destroyed.

Mark Sibly пре 8 година
родитељ
комит
2d5034b32d
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      modules/mojo3d/graphics/entity.monkey2

+ 2 - 0
modules/mojo3d/graphics/entity.monkey2

@@ -422,6 +422,8 @@ Class Entity
 		_parent=Null
 		
 		_scene=Null
+		
+		Destroyed()
 	End
 	
 	#rem monkeydoc Sets entity position in local or world space.