Example #1
0
 public void SetupMap(DoorInfo doorInfo)
 {
     if (doorInfo.TypeWorld == TYPE_WORLD.AR)
     {
         currMap = arMap;
     }
     else if (doorInfo.TypeWorld == TYPE_WORLD.GV)
     {
         currMap = gvMap;
     }
     else
     {
         currMap = sikMap;
     }
     currMap.gameObject.SetActive(true);
     currMap.SetColor(GameScreenManager.Instance.color1, GameScreenManager.Instance.color2);
     currMap.SetupMap();
     currMap.player.Init();
 }