teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

3

実際の内容との差異を修正

2020/10/08 07:23

投稿

Haru3839
Haru3839

スコア0

title CHANGED
File without changes
body CHANGED
@@ -7,7 +7,6 @@
7
7
 
8
8
  ### 発生している問題
9
9
  各動画ごとに上記のprefabをInstantiateでクローンしていますが、その都度別のurlを渡してもすべて同じ動画になってしまいます。
10
- ![対象箇所](739b997b9f3b6c4d6cc9bccb692d91b5.jpeg)
11
10
  ### 該当のソースコード
12
11
 
13
12
  ```C#
@@ -35,10 +34,6 @@
35
34
  }
36
35
  ```
37
36
 
38
- ### 試したこと
39
-
40
- Raw Imageだからいけないのかと思い、planeでPrefabを作成して同様に検証しましたがうまくいきませんでした。
41
-
42
37
  ### 補足情報(FW/ツールのバージョンなど)
43
38
 
44
39
  Unity:2019.3.15f

2

書式の改善

2020/10/08 07:22

投稿

Haru3839
Haru3839

スコア0

title CHANGED
File without changes
body CHANGED
@@ -27,7 +27,6 @@
27
27
  videoList.transform.Find("Label Area").transform.Find("Tool ID").GetComponent<Text>().text = videoInfo[(int)VideoInfoEnum.ToolID];
28
28
  videoList.transform.Find("Label Area").transform.Find("ID").GetComponent<Text>().text = "ID" + videoInfo[(int)VideoInfoEnum.ID];
29
29
  videoList.transform.Find("Label Area").transform.Find("Date").GetComponent<Text>().text = "Date:" + x.CreationTime.ToString();
30
- Instantiate(VideoListTemplate, VideoListArea.transform);
31
30
  });
32
31
  }
33
32
  string[] getVideoInfo(string videoFileName) {

1

文法修正

2020/10/08 04:56

投稿

Haru3839
Haru3839

スコア0

title CHANGED
@@ -1,1 +1,1 @@
1
- UnityのVideo Playerコンポーネントにスクリプト側から動的にurlを指定して別々の
1
+ UnityのVideo Playerコンポーネントにスクリプト側から別々のurlを指定したい
body CHANGED
File without changes