Răsfoiți Sursa

Entity now calls Destroyed() when destroyed.

Mark Sibly 8 ani în urmă
părinte
comite
2d5034b32d
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  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.