public static void BackFromScene(GameObject popup) { GameObject mask = createNewMask(); TKSceneManager controller = mask.AddComponent <TKSceneManager>(); controller.StartDestroyingScene(popup); }