// Start is called before the first frame update void Start() { go = GameObject.FindGameObjectWithTag("Player"); player = go.GetComponent <Movement_player>(); playerstats = go.GetComponent <stats>(); }
// Start is called before the first frame update void Start() { pgo = GameObject.FindGameObjectWithTag("Player"); player = pgo.GetComponent <Movement_player>(); }