Beispiel #1
0
 // 플레이어가 졌을 때
 public void Lose()
 {
     print("Lose");
     CDS.StopAllCoroutines();
     CardCover.SetActive(true);
     Game_Over.SetActive(true);
     remain_time     = (int)HeroSlider.value / 2;
     timeText_O.text = "" + remain_time;
 }
Beispiel #2
0
 public void Lost_Game()
 {
     game_over      = new Game_Over(this);
     current_screen = Screen.Game_Over;
 }
Beispiel #3
0
 void Start()
 {
     instace = this;
 }
Beispiel #4
0
 //private Transform startPosition = position;
 // Use this for initialization
 void Start()
 {
     rexAnimator = GetComponent <Animator>();
     rexRB       = GetComponent <Rigidbody2D>();
     gameover    = GameObject.FindWithTag("MainCamera").GetComponent <Game_Over>();
 }