Beispiel #1
0
 protected void OnDisable()
 {
     WaterSystem.removeVolume(this);
     LevelHierarchy.removeItem(this);
 }
Beispiel #2
0
 protected void OnEnable()
 {
     LevelHierarchy.addItem(this);
     WaterSystem.addVolume(this);
 }