cleaned up console

This commit is contained in:
louishorlaville 2022-05-14 14:16:30 -04:00
parent f12a506e9e
commit 95834a347b
2 changed files with 4 additions and 7 deletions

View File

@ -5599,7 +5599,7 @@ MonoBehaviour:
cannon: {fileID: 447514117}
projectile: {fileID: 5630905120393344806, guid: 70e77cdd333989d4193d3d85029d8cbe, type: 3}
lookDepth: 400
cannonForce: 1000
cannonForce: 600
fireRate: 0.5
fireTimer: 0
--- !u!65 &2089817558
@ -5696,15 +5696,15 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 1002961339065835566, guid: 3c33f37ff1cce2d48b88e476df2d47a0, type: 3}
propertyPath: m_LocalPosition.x
value: -37.1
value: -41.1
objectReference: {fileID: 0}
- target: {fileID: 1002961339065835566, guid: 3c33f37ff1cce2d48b88e476df2d47a0, type: 3}
propertyPath: m_LocalPosition.y
value: 38.4
value: 34.4
objectReference: {fileID: 0}
- target: {fileID: 1002961339065835566, guid: 3c33f37ff1cce2d48b88e476df2d47a0, type: 3}
propertyPath: m_LocalPosition.z
value: 100.3
value: 97.2
objectReference: {fileID: 0}
- target: {fileID: 1002961339065835566, guid: 3c33f37ff1cce2d48b88e476df2d47a0, type: 3}
propertyPath: m_LocalRotation.w

View File

@ -39,9 +39,6 @@ public class CannonScript : MonoBehaviour
GameObject hitObject = hit.collider.gameObject;
Debug.Log(hitObject.name);
Debug.Log(hitObject.tag);
if (hitObject.tag == "Enemy")
{
hitObject.GetComponent<Enemy>().IsShot();