remove watermelon debug

This commit is contained in:
Glence 2023-02-04 15:56:37 +08:00
parent e07a741c11
commit a97dfe7049
2 changed files with 0 additions and 8 deletions

View File

@ -8956,7 +8956,6 @@
Enabled: true
threshHold: 4
ignoreRaccoon: true
print: true
- Type: Item
Enabled: true
Score: 500
@ -9243,7 +9242,6 @@
Enabled: true
threshHold: 0.5
ignoreRaccoon: true
print: false
- Type: Item
Enabled: true
Score: 10
@ -9811,7 +9809,6 @@
Enabled: true
threshHold: 0.100000001
ignoreRaccoon: false
print: false
- EID: 196
Name: Piece1
IsActive: true
@ -10021,7 +10018,6 @@
Enabled: true
threshHold: 0.100000001
ignoreRaccoon: false
print: false
- EID: 65703
Name: Piece1
IsActive: true
@ -10231,7 +10227,6 @@
Enabled: true
threshHold: 0.100000001
ignoreRaccoon: false
print: false
- EID: 65708
Name: Piece1
IsActive: true

View File

@ -13,7 +13,6 @@ public class Breakable : Script
private Transform trans;
public bool isBreak { get; set; }
private List<GameObject> itemPieces = new List<GameObject>();
public bool print = false;
protected override void awake()
{
@ -47,8 +46,6 @@ public class Breakable : Script
if (ignoreRaccoon && info.GameObject.GetScript<PlayerController>())
return;
if (print)
Debug.Log($"{info.GameObject.Name}");
if (rb.LinearVelocity.GetSqrMagnitude() > threshHold && !info.GameObject.GetScript<PlayerController>())
{