Example #1
0
    /// <summary>
    /// セレクトボックスをアクティブにする
    /// </summary>
    public void SetActiveSelectBox()
    {
        if (!UISelectManager.IsNoneMode)
        {
            return;
        }

        SelectBox.SetActive(true);
        UISelectManager.ChangeResetMode();
        ResetButton.enabled = false;
    }
Example #2
0
    /// <summary>
    /// テクスチャを保存する。
    /// </summary>
    public void TextureSave()
    {
        if (!UISelectManager.IsNoneMode)
        {
            return;
        }

        CaptureMenu.SetActive(true);
        CaptureButton.enabled = false;
        CaptureLocalSave.Save(this);
        UISelectManager.ChangeShareMode();
        StartCoroutine("Capture");
    }
Example #3
0
    void Update()
    {
        if (UISelectManager.IsNoneMode)
        {
            return;
        }
        if (ModeManager.IsGameMode)
        {
            return;
        }

        SelectBox.SetActive(false);
        ResetButton.enabled = true;
        UISelectManager.ChangeNoneMode();
    }
Example #4
0
    // Update is called once per frame
    void Update()
    {
        count             += Time.deltaTime;
        rotationAngle     += Mathf.PI * rotationSpeed * Time.deltaTime;
        transform.position = new Vector3(
            centerObject.position.x + Mathf.Sin(rotationAngle) * moveRadius,
            transform.position.y,
            centerObject.position.x + Mathf.Cos(rotationAngle) * moveRadius);

        transform.LookAt(new Vector3(0, transform.position.y - 2, 0));

        if (alpha >= 1)
        {
            ModeManager.ChangeGameMode();
            UISelectManager.ChangeNoneMode();
            Application.LoadLevel("GameMain");
        }

        Reset();
    }
Example #5
0
 void None()
 {
     Capture.ButtonEnable();
     UISelectManager.ChangeNoneMode();
 }
Example #6
0
 public void NonActiveSelectBox()
 {
     SelectBox.SetActive(false);
     UISelectManager.ChangeNoneMode();
     ResetButton.enabled = true;
 }