質問編集履歴

2

fr bk

2016/11/13 20:26

投稿

eggpol
eggpol

スコア60

test CHANGED
File without changes
test CHANGED
@@ -12,7 +12,7 @@
12
12
 
13
13
 
14
14
 
15
- Transform fr;
15
+ Transform bk;
16
16
 
17
17
  // Use this for initialization
18
18
 
@@ -20,11 +20,11 @@
20
20
 
21
21
 
22
22
 
23
- fr = GameObject.Find ("back").transform ;
23
+ bk = GameObject.Find ("back").transform ;
24
24
 
25
25
 
26
26
 
27
- Debug.Log (fr);
27
+ Debug.Log (bk);
28
28
 
29
29
  }
30
30
 
@@ -40,7 +40,7 @@
40
40
 
41
41
 
42
42
 
43
- transform.position = fr.position;
43
+ transform.position = bk.position;
44
44
 
45
45
  }
46
46
 

1

0\.0\.2 →0\.0\.-2

2016/11/13 20:26

投稿

eggpol
eggpol

スコア60

test CHANGED
File without changes
test CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  Maincameraに下記をアタッチしました。
6
6
 
7
- frはunitychanの子オブジェクトでunitychanの後ろローカル座標(0.0.2)くらいあるものです。
7
+ frはunitychanの子オブジェクトでunitychanの後ろローカル座標(0.0.-2)くらいあるものです。
8
8
 
9
9
  右クリックを押したときに後ろからunitychanを見ることはできるのですが、右クリックを押している間unitychanが動かず、小刻みに振動しているだけでアニメーションもしてくれません・・・・
10
10