Beispiel #1
0
 private void Update()
 {
     if (Input.GetMouseButtonDown(1))
     {
         ScoreManager2.GetInstance().AddScore(-2);
         Debug.Log(ScoreManager2.GetInstance().GetScore());
     }
 }
 private void Awake()
 {
     Debug.Log("Start Score : " + ScoreManager2.GetInstance().GetScore());
 }