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