Ejemplo n.º 1
0
    /// <summary> Start is called before the first frame update. </summary>
    private void Start()
    {
        score     = GlobalControl.Instance.score;
        Text.text = "Puntos: " + score;

        Mediator.AddFoodObserver(this);
    }
Ejemplo n.º 2
0
    /// <summary> Start is called before the first frame update. </summary>
    private void Start()
    {
        level = GlobalControl.Instance.level;

        InitializeLevel();

        Mediator.AddFoodObserver(this);
    }