Skip to content
Snippets Groups Projects
BackToButton_withConfChange.cs 397 B
Newer Older
  • Learn to ignore specific revisions
  • using UnityEngine;
    
    public class BackToButton_withConfChange : MonoBehaviour
    {
        public GameObject backTo_GObj;
        public GameObject parentM_GObj;
    
    MaZiFAU's avatar
    MaZiFAU committed
        public int GameplayMode;
    
    
    
        public void goBackButtonOPTM()
        {
            //NetworkJSON_Save();
    
    MaZiFAU's avatar
    MaZiFAU committed
    
    
    MaZiFAU's avatar
    MaZiFAU committed
            parentM_GObj.SetActiveAllChildren(false);
    
    
            backTo_GObj.SetActive(true); ;
    
            UIconfig.GameplayMode = GameplayMode;
        }