Ejemplo n.º 1
0
    public void GameStart360()
    {
        Debug.LogError("360 Start");
        MyMeshRenderer.enabled = true;
        WaitSub.SetActive(false);

        TypeText.textmesh.text = "";
        BGMManager.BaseAudioPause(BGMManager.Start_Screen_BGM);
        GameState = (int)EGameState.Start;
        TypeText.TypeScenario();
        Gamemng.ResetViewPOint();

        NowMat.DOFade(1, 3).OnComplete <Tweener>(() => { NowMat.DOFade(0, 3).OnComplete <Tweener>(() => { NextMyMaterial(); this.gameObject.transform.rotation = Quaternion.Euler(0, -20, 0); }); });
        NowMat.DOFade(1, 3).OnComplete <Tweener>(() => { NowMat.DOFade(0, 3).OnComplete <Tweener>(() => { NextMyMaterial(); this.gameObject.transform.rotation = Quaternion.Euler(0, -35, 0); }); }).SetDelay <Tweener>(6);
        NowMat.DOFade(1, 3).OnComplete <Tweener>(() => { NowMat.DOFade(0, 3).OnComplete <Tweener>(() => { NextMyMaterial(); this.gameObject.transform.rotation = Quaternion.Euler(0, 0, 0); }); }).SetDelay <Tweener>(12);
        NowMat.DOFade(1, 3).OnComplete <Tweener>(() => { NowMat.DOFade(0, 3).OnComplete <Tweener>(() => { NextMyMaterial(); this.gameObject.transform.rotation = Quaternion.Euler(0, 90, 0); DotweenEnd(); }); }).SetDelay <Tweener>(18);
    }