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