コード例 #1
0
    protected override void Start()
    {
        base.Start();
        StartCoroutine(Flow());

        //ナビゲーションバーのタッチイベントを取得できるように
        TouchManager.Instance.NavigationAction += (object sender, CustomInputEventArgs e) =>
        {
            //バックボタンが押されたらシーンを戻るように
            if (e.Input.IsNavigationBackDown)
            {
                SceneTransitionManager.BackScene();
                Debug.Log("Scene Back");
            }
        };
    }