public void ClickNext() { if (displayList == null || displayList.Count == 0) { SceneSwitch.SwitchTo(SceneIndex); return; } if (displayIndex == displayList.Count - 1) { SceneSwitch.SwitchTo(SceneIndex); } else { PositionAdjust(); StartCoroutine(GameObjectSwitchNext()); } }
public void Click() { SceneSwitch.SwitchTo(NextSceneIndex); }