FadeManager.FadeIn C# (CSharp) Method

FadeIn() public method

public FadeIn ( ) : void
return void
    public void FadeIn()
    {
        posFadex = 1f;
        levelToLoad = "";
        fs = FadeState.FADEIN;
    }

Same methods

FadeManager::FadeIn ( string levelName ) : void

Usage Example

Ejemplo n.º 1
0
        // Start is called before the first frame update
        private void Start()
        {
            FadeManager.FadeIn(1.0f);
            common_data.dificulity = dificulity;
            common_data.phase      = phase;

            appealText = GetComponent <ApealText>();
            if (common_data.is_stage_select)
            {
                appealText.DOAppeal(0);
                appealText.ChangeText("フェーズ" + phase.ToString(), 1);
                appealText.DOAppeal(1);
            }

            factory = new Dictionary <string, BaseState>();

            // シーンを登録
            RegisterState();

            // csvファイルからステージのデータを持ってくる
            if (common_data.is_stage_select)
            {
                common_data.stage_datas.Add(new Dificulity(5, 1.0f, 1, 2));
            }
            else
            {
                LoadStageData();
            }

            // sceneが何故かずっとnullなのでしょうがなく
            state = factory["Start"];
            state.Init(common_data);
            text.text = "Start";
        }
All Usage Examples Of FadeManager::FadeIn