void Start() { Player = GameObject.FindGameObjectWithTag("Player"); playerScore = Player.GetComponent <PlayerScoreUGUI>(); pu = Player.GetComponent <PlayerPoweUpsUGUI>(); localPos = transform.localPosition; pc = Player.GetComponent <PlayerControls>(); }
void Start() { Player = GameObject.FindGameObjectWithTag("Player"); pu = Player.GetComponent <PlayerPoweUpsUGUI>(); }