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