public void UpdateScoreboard(DartsManager manager) { _dartsManager = manager; _hiScore.text = manager.ReturnHighScore().ToString(); }
void Awake() { manager = FindObjectOfType <DartsManager> (); }
void Awake() { manager = FindObjectOfType <DartsManager> (); _sceneRoot = this.transform.root.transform.gameObject; }
// Use this for initialization void Start() { _manager = FindObjectOfType <DartsManager> (); _isInside = false; }