Ejemplo n.º 1
0
    void OnMouseDown()
    {
        Debug.Log("Level won", this);
        MadLevelProfile.SetCompleted(MadLevel.currentLevelName, true);

        MadLevelProfile.SetLevelInteger(MadLevel.currentLevelName, "score", points);

        MadLevel.LoadLevelByName("Level Select");
    }