remove watermelon debug
This commit is contained in:
parent
e07a741c11
commit
a97dfe7049
|
@ -8956,7 +8956,6 @@
|
||||||
Enabled: true
|
Enabled: true
|
||||||
threshHold: 4
|
threshHold: 4
|
||||||
ignoreRaccoon: true
|
ignoreRaccoon: true
|
||||||
print: true
|
|
||||||
- Type: Item
|
- Type: Item
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Score: 500
|
Score: 500
|
||||||
|
@ -9243,7 +9242,6 @@
|
||||||
Enabled: true
|
Enabled: true
|
||||||
threshHold: 0.5
|
threshHold: 0.5
|
||||||
ignoreRaccoon: true
|
ignoreRaccoon: true
|
||||||
print: false
|
|
||||||
- Type: Item
|
- Type: Item
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Score: 10
|
Score: 10
|
||||||
|
@ -9811,7 +9809,6 @@
|
||||||
Enabled: true
|
Enabled: true
|
||||||
threshHold: 0.100000001
|
threshHold: 0.100000001
|
||||||
ignoreRaccoon: false
|
ignoreRaccoon: false
|
||||||
print: false
|
|
||||||
- EID: 196
|
- EID: 196
|
||||||
Name: Piece1
|
Name: Piece1
|
||||||
IsActive: true
|
IsActive: true
|
||||||
|
@ -10021,7 +10018,6 @@
|
||||||
Enabled: true
|
Enabled: true
|
||||||
threshHold: 0.100000001
|
threshHold: 0.100000001
|
||||||
ignoreRaccoon: false
|
ignoreRaccoon: false
|
||||||
print: false
|
|
||||||
- EID: 65703
|
- EID: 65703
|
||||||
Name: Piece1
|
Name: Piece1
|
||||||
IsActive: true
|
IsActive: true
|
||||||
|
@ -10231,7 +10227,6 @@
|
||||||
Enabled: true
|
Enabled: true
|
||||||
threshHold: 0.100000001
|
threshHold: 0.100000001
|
||||||
ignoreRaccoon: false
|
ignoreRaccoon: false
|
||||||
print: false
|
|
||||||
- EID: 65708
|
- EID: 65708
|
||||||
Name: Piece1
|
Name: Piece1
|
||||||
IsActive: true
|
IsActive: true
|
||||||
|
|
|
@ -13,7 +13,6 @@ public class Breakable : Script
|
||||||
private Transform trans;
|
private Transform trans;
|
||||||
public bool isBreak { get; set; }
|
public bool isBreak { get; set; }
|
||||||
private List<GameObject> itemPieces = new List<GameObject>();
|
private List<GameObject> itemPieces = new List<GameObject>();
|
||||||
public bool print = false;
|
|
||||||
|
|
||||||
protected override void awake()
|
protected override void awake()
|
||||||
{
|
{
|
||||||
|
@ -47,8 +46,6 @@ public class Breakable : Script
|
||||||
if (ignoreRaccoon && info.GameObject.GetScript<PlayerController>())
|
if (ignoreRaccoon && info.GameObject.GetScript<PlayerController>())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (print)
|
|
||||||
Debug.Log($"{info.GameObject.Name}");
|
|
||||||
|
|
||||||
if (rb.LinearVelocity.GetSqrMagnitude() > threshHold && !info.GameObject.GetScript<PlayerController>())
|
if (rb.LinearVelocity.GetSqrMagnitude() > threshHold && !info.GameObject.GetScript<PlayerController>())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue