Example #1
0
        // load map
        protected void LoadMap()
        {
            if (map == null)
            {
                map = JUtil.FindComponent <Map>();
            }

            if (map == null)
            {
                return;
            }

            if (gameInfo != null)
            {
                map.Initialize(gameInfo.mapPath);
            }
        }
Example #2
0
 public void Surrender()
 {
     JUtil.LoadScene(Config.Scene.MainMenu);
 }
Example #3
0
 public void OnClick_Play()
 {
     JUtil.LoadScene(Config.Scene.Ingame, 1);
 }
Example #4
0
        public override void Resizing()
        {
            float newSize = JUtil.GetMinResRatio();

            text.fontSize = (int)(newSize * fontSize);
        }
Example #5
0
 public void OnClick_Quit()
 {
     JUtil.Quit();
 }