예제 #1
0
 // Start is called before the first frame update
 void Start()
 {
     PointCounter.Reset();
     shake     = GameObject.FindGameObjectWithTag("ScreenShake").GetComponent <Shake>();
     animator  = GetComponent <Animator>();
     hitPoints = MaxHitPoints;
     animator.SetInteger("Character", PlayerPrefs.GetInt("SelectedCharacter"));
     // animator.SetInteger("Character", 0);
 }