void Start()
 {
     Saving = new DataSaving();
     save   = Saving.Load();
     score  = 0;
     StartCoroutine(pauseStart());
 }
示例#2
0
    void Start()
    {
        cutSceneAnimator = GetComponent <Animator>();
        cutSceneSource   = GetComponent <AudioSource>();

        Saving = new DataSaving();
        save   = Saving.Load();

        scoreText.text = "Total Score\n------------\n" + Math.Round(save.OceanScore + save.SkyScore + save.SpaceScore);
    }