Esempio n. 1
0
    private TitleScene titleScene = null; // タイトルシーンのスクリプト

    #endregion Fields

    #region Methods

    public FadeTime GetFadeTime(AppliController._eSceneID sceneID)
    {
        FadeTime fadeTime = new FadeTime(0.0f, 0.0f);

        foreach (var scene in sceneButtons) {
            if(scene.order == sceneID) {
                fadeTime = scene.fadeTime;
                break;
            }
        }

        return fadeTime;
    }
Esempio n. 2
0
 public FadeTime GetFadeTime(AppliController._eSceneID sceneID)
 {
     return titleButtonsScript.GetFadeTime(sceneID);
 }
Esempio n. 3
0
    // Use this for initialization
    void Start()
    {
        appController = transform.root.gameObject.GetComponent<AppliController>();
        GameScene gameScene = appController.GetCurrentScene().GetComponent<GameScene>();
        gameController = gameScene.gameController;
        nextLevel = -1;

        audioSource = GetComponent<AudioSource>();

        levelState = _eLevelState.STAND;

        levelTableScript = gameScene.levelTables;

        levelChangePrefab = Resources.Load<GameObject>(levelChangePath);
        animationPrefab = Resources.Load<GameObject>(animationPath);

        gOption = gameScene.gameUI.gamePause;
         //       gameScene.gameUI.gameInfoCanvas.GetComponentInChildren<fieldImage>().gameObject.GetComponent<Button>().onClick.AddListener(TouchChange);
    }