Exemplo n.º 1
0
 /// <summary>
 /// タイトル初期化
 /// </summary>
 void TitleInitialize()
 {
     titleTiming_p     = TitleTiming.ProcessStart;
     titleSelectType_p = TitleSelectType.Start;
     canInputUsabale   = true;
     canSaving         = true;
     SystemMgr.loadBackBoradUsabale = false;
 }
Exemplo n.º 2
0
    /// <summary>
    /// タイトル選択肢移動
    /// </summary>
    void TitleInput()
    {
        if (InputMgr.vertical <= -0.5f)
        {
            canInputUsabale = false;
            this.reloadTime = DateTime.Now;
            switch (titleSelectType_p)
            {
            case TitleSelectType.Start:
                titleSelectType_p = TitleSelectType.Continue;
                break;

            case TitleSelectType.Continue:
                titleSelectType_p = TitleSelectType.End;
                break;

            case TitleSelectType.End:
                titleSelectType_p = TitleSelectType.Start;
                break;
            }
        }
        if (InputMgr.vertical >= 0.5f)
        {
            canInputUsabale = false;
            this.reloadTime = DateTime.Now;
            switch (titleSelectType_p)
            {
            case TitleSelectType.Start:
                titleSelectType_p = TitleSelectType.End;
                break;

            case TitleSelectType.Continue:
                titleSelectType_p = TitleSelectType.Start;
                break;

            case TitleSelectType.End:
                titleSelectType_p = TitleSelectType.Continue;
                break;
            }
        }
        if (InputMgr.fire6 == true || Input.GetKeyDown(KeyCode.Space))
        {
            if (titleSelectType_p == TitleSelectType.End)
            {
                SystemMgr.systemTiming_g = SystemMgr.SystemTiming.ProcessEnd;
            }
            else
            {
                titleTiming_p = TitleTiming.ProcessEnd;
            }
            SystemMgr.loadBackBoradUsabale = true;
        }
        TestSaveData();
    }