using UnityEngine; using static StreamingAssetLoader; public class BackToButton_mobile : MonoBehaviour { public GameObject backTo_GObj; public GameObject parentM_GObj; public void goBackButtonOPTM() { NetworkJSON_Save(); if (parentM_GObj != null) parentM_GObj.SetActiveAllChildren(false); backTo_GObj.SetActive(true); } }