Example #1
0
 void Update()
 {
     if (sceneLoader.GetCurrentSceneName() != "PH_Level 4")
     {
         Destroy(gameObject);
     }
 }//destroy if it's not Level 4