IEnumerator ChangeActiveScriptWithDelay(OperationStarshineMenuScreen Script) { MAM.Play("Confirm", .25f); yield return(new WaitForSeconds(1.01f)); Script.Script_Active = true; Script_Active = false; }
public void ChangeActiveScriptAfter1Sec(OperationStarshineMenuScreen Script) { StartCoroutine(ChangeActiveScriptWithDelay(Script)); }
public void ChangeActiveScript(OperationStarshineMenuScreen Script) { Script.Script_Active = true; Script_Active = false; }