private void Start() { numberDisplay = GetComponentInChildren <NumberDisplay>(); numberDisplay.InitNumberDisplay(stepsValue); SetSprite(); TorchPointLocation = transform.position; FindObjectOfType <LevelManager>().UpdateTorchPoints(this); }
private void Start() { numberDisplay = GetComponentInChildren <NumberDisplay>(); numberDisplay.InitNumberDisplay(stepsRemaining); levelManager = FindObjectOfType <LevelManager>(); transform.position = levelManager.LevelStartLocation; }