コード例 #1
0
    void Awake()
    {
        m_button = GetComponent <Button>();

        m_button.onClick.AddListener(() =>
        {
            MapManager.I.TappedTheButton();
            if (isSelect)
            {
                TransitionViewTHETAScene();
            }
            else
            {
                isSelect = true;
                if (currentSelectButton != null)
                {
                    currentSelectButton.Hide();
                }
                currentSelectButton = this;
                PopUp();
            }
        });

        popup.onClick.AddListener(() =>
        {
            MapManager.I.TappedTheButton();
            TransitionViewTHETAScene();
        });
    }
コード例 #2
0
 void TransitionViewTHETAScene()
 {
     currentSelectButton         = null;
     AppData.SelectThetaPictures = texs;
     AppData.CanChangePicture    = canChangePicture;
     AppData.differenceVec       = differenceVec;
     UnderBerMenu.I.ChangeScene("ViewTHETA");
 }