void Start() { playerStats = GameObject.Find("Player").GetComponent <PlayerDataManager>(); collisionStats = GameObject.Find("CollisionDataManager").GetComponent <CollisionDataManager>(); player = GameObject.Find("Player"); difficultyManager = GameObject.Find("DifficultyManager").GetComponent <DifficultyManager> (); }
void Start() { playerStats = GameObject.Find("Player").GetComponent <PlayerDataManager> (); collisionStats = GameObject.Find("CollisionDataManager").GetComponent <CollisionDataManager> (); difficulty = 1; difficultyDifference = 0; speed = 4.0f; }