Select Git revision
SmartMenu.prefab
-
John Schihada authoredJohn Schihada authored
BackToButton_mobile.cs 382 B
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);
}
}