Exemple #1
0
 void OnDestroy()
 {
     // unblock other UI block by me
     UISystem.Unblock(this);
 }
Exemple #2
0
 // Use this for initialization
 void Start()
 {
     // then, block otherwise
     UISystem.Block(this);
 }