Example #1
0
 // Update is called once per frame
 void Update()
 {
     //wait for the Actual Final Panel to be moved out before disabling itself (because it holds the background fade color)
     if (actPanel.IsPanelMovedOut() == true)
     {
         gameObject.SetActive(false);
     }
 }