質問編集履歴
2
誤字の修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -19,7 +19,7 @@
|
|
19
19
|
|
20
20
|
bool CheckGrounded()
|
21
21
|
{
|
22
|
-
number = rb.Cast(Vector2.down, LayerMask.GetMask("Ground"), result, 0.1f)
|
22
|
+
number = rb.Cast(Vector2.down, LayerMask.GetMask("Ground"), result, 0.1f);
|
23
23
|
if(number > 0)
|
24
24
|
{
|
25
25
|
return true;
|
1
誤字の修正
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
RigidBody2D.Cast()におけるContactFilter2D.layerMaskの利用
|
1
|
+
[Unity]RigidBody2D.Cast()におけるContactFilter2D.layerMaskの利用
|
body
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
bool CheckGrounded()
|
21
21
|
{
|
22
22
|
number = rb.Cast(Vector2.down, LayerMask.GetMask("Ground"), result, 0.1f)
|
23
|
-
if(
|
23
|
+
if(number > 0)
|
24
24
|
{
|
25
25
|
return true;
|
26
26
|
}
|