private void enableEffect() { switch (current_page) { case 1: Page1_Effect.SetActive(true); break; case 2: Page2_Effect.SetActive(true); break; case 3: break; case 4: break; case 5: break; case 6: break; case 7: break; case 8: break; default: break; } }
private void disableAllEffect() { if (Page1_Effect != null) { Page1_Effect.SetActive(false); } if (Page2_Effect != null) { Page2_Effect.SetActive(false); } }
private void disableAllEffect() { Page1_Effect.SetActive(false); Page2_Effect.SetActive(false); }