質問編集履歴

4

誤字

2020/12/21 21:36

投稿

tttttm
tttttm

スコア6

test CHANGED
File without changes
test CHANGED
@@ -4,35 +4,35 @@
4
4
 
5
5
 
6
6
 
7
- void Update(){
7
+     void Update(){
8
8
 
9
9
         transform.Rotate(0, 0, this.rotation_speed);
10
10
 
11
11
   
12
12
 
13
-   if (Input.GetMouseButtonDown(0))
13
+        if (Input.GetMouseButtonDown(0))
14
14
 
15
- {
15
+   {
16
16
 
17
-  this.rotation_speed = 0.5f;
17
+   this.rotation_speed = 0.5f;
18
18
 
19
- gameObject.transform.rotation = Quaternion.identity;//初期化
19
+   gameObject.transform.rotation = Quaternion.identity;//初期化
20
20
 
21
- }
21
+   }
22
22
 
23
23
 
24
24
 
25
- if (Input.GetMouseButtonUp(0))
25
+   if (Input.GetMouseButtonUp(0))
26
26
 
27
-   {
27
+    {
28
28
 
29
-   this.rotation_speed =-0.5f;
29
+    this.rotation_speed =-0.5f;
30
30
 
31
-   gameObject.transform.rotation = Quaternion.identity;//初期化
31
+    gameObject.transform.rotation = Quaternion.identity;//初期化
32
32
 
33
- }
33
+  }
34
34
 
35
- }
35
+   }
36
36
 
37
37
  ```
38
38
 

3

誤字

2020/12/21 21:36

投稿

tttttm
tttttm

スコア6

test CHANGED
File without changes
test CHANGED
@@ -1,6 +1,8 @@
1
1
  ```c#
2
2
 
3
3
  float rotation_speed = 0;
4
+
5
+
4
6
 
5
7
  void Update(){
6
8
 

2

誤字

2020/12/21 21:35

投稿

tttttm
tttttm

スコア6

test CHANGED
File without changes
test CHANGED
@@ -34,4 +34,4 @@
34
34
 
35
35
  ```
36
36
 
37
- 滑らかに初期化をしたいですのです
37
+ 滑らかに初期化をしたいです

1

誤字

2020/12/21 21:26

投稿

tttttm
tttttm

スコア6

test CHANGED
File without changes
test CHANGED
File without changes