Example #1
0
 private void ShowAlertPanel(ButtonDateLibraryPresenter button)////ルーム選択、アバター表示
 {
     PopUpPanel_Button_Ok.interactable = false;
     PopUpPanel_Text_MainTitle.text    = button.GetDateText();
     PopUpPanel_Text_Message.text      = "ファイルの読み込みに 時間のかかる場合があります";
     PopUpPanel.SetActive(true);
     SelectedLibraryButton = button;
     Debug.Log("ターゲットデータパス" + SystemDefines.FDRECORD_PATH + SelectedLibraryButton.targetDataPath);
 }
    private void CreateDateRoomButton(string date, string roomId)///第2階層のルームボタンを作る
    {
        GameObject button = Instantiate(ButtonLibraryDatePrefab);
        ButtonDateLibraryPresenter blp = button.GetComponent <ButtonDateLibraryPresenter>();

        blp.SetData(date, roomId);

        button.transform.parent        = LibraryDateHolder.transform;
        button.transform.localPosition = Vector3.zero;
        button.transform.localRotation = Quaternion.identity;
    }