public void OnOffInstructions() { #if UNITY_EDITOR || UNITY_STANDALONE || UNITY_WEBPLAYER if (standAloneInstructions.activeSelf == true) { standAloneInstructions.SetActive(false); } else { standAloneInstructions.SetActive(true); } #else if (mobileInstructions.activeSelf == true) { mobileInstructions.SetActive(false); } else { inGameMenu.ResumeGame(); mobileInstructions.SetActive(true); } #endif }