private int previousScore = 0; // The score in the previous frame. void Awake () { // Setting up the reference. playerControl = GameObject.FindGameObjectWithTag ("Player").GetComponent<PlayerEffects> (); }
private int previousScore = 0; // The score in the previous frame. void Awake() { // Setting up the reference. playerControl = GameObject.FindGameObjectWithTag("Player").GetComponent <PlayerEffects> (); }