示例#1
0
    private void Start()
    {
        numberDisplay = GetComponentInChildren <NumberDisplay>();
        numberDisplay.InitNumberDisplay(stepsValue);

        SetSprite();
        TorchPointLocation = transform.position;
        FindObjectOfType <LevelManager>().UpdateTorchPoints(this);
    }
示例#2
0
    private void Start()
    {
        numberDisplay = GetComponentInChildren <NumberDisplay>();
        numberDisplay.InitNumberDisplay(stepsRemaining);

        levelManager = FindObjectOfType <LevelManager>();

        transform.position = levelManager.LevelStartLocation;
    }