// Start is called before the first frame update void Start() { world = GameObject.FindGameObjectWithTag("World"); highScore01 = GameObject.FindGameObjectWithTag("SpawnerLevel01").GetComponent <HigScore>(); if (world.name != "World1") { scoreHolder = highScore01.highscoreGame; } }
private void Start() { PlayerStatus = GameObject.FindGameObjectWithTag("Player").GetComponent <playerStatus>(); WorldScore = GameObject.FindGameObjectWithTag("World").GetComponent <HigScore>(); }