private void Start()
 {
     _sceneCalculator = FindObjectOfType <SceneCalculator>();
     if (_sceneCalculator.HasBeatenGame)
     {
         GetComponent <SpriteRenderer>().enabled = true;
     }
 }
예제 #2
0
 private void Start()
 {
     _sceneCalculator = FindObjectOfType <SceneCalculator>();
 }
예제 #3
0
 // Start is called before the first frame update
 void Start()
 {
     _sceneCalculator = FindObjectOfType <SceneCalculator>();
     _sceneCalculator.JustBeatLevel();
 }