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

回答編集履歴

1

補足

2021/06/07 09:17

投稿

hogefugapiyo
hogefugapiyo

スコア3307

answer CHANGED
@@ -8,4 +8,7 @@
8
8
  ※ Unityのバージョン違いとかならすいません
9
9
 
10
10
  GameObject.GetComponent
11
- [https://docs.unity3d.com/ja/current/ScriptReference/GameObject.GetComponent.html](https://docs.unity3d.com/ja/current/ScriptReference/GameObject.GetComponent.html)
11
+ [https://docs.unity3d.com/ja/current/ScriptReference/GameObject.GetComponent.html](https://docs.unity3d.com/ja/current/ScriptReference/GameObject.GetComponent.html)
12
+
13
+ Rigidbody2D rbody; と rbody = GetComponent<Rigidbody2D>();それぞれのはたらきについて
14
+ [https://teratail.com/questions/342273](https://teratail.com/questions/342273)