예제 #1
0
 void Start ()
 {
     DOTween.Init();
     point = GameObject.FindWithTag("point").GetComponent<RTLTextMeshPro>();
     life = GameObject.FindWithTag("life").GetComponent<RTLTextMeshPro>();
     playerModel.Load();
     int level = playerModel.GetLevel();
     gameModel.SetStarted( true);
     gameModel.setEnemyCount(playerModel.GetLevel());
     Vector3 playerloc = mapPresenter.genrateMap( level+6);
     playerPresenter.createPlayer(playerloc);
 }