Browse Source

Entity now calls Destroyed() when destroyed.

Mark Sibly 8 năm trước cách đây
mục cha
commit
2d5034b32d
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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.