Large diffs are not rendered by default.

@@ -27785,18 +27785,10 @@ MonoBehaviour:
m_GameObject: {fileID: 1622451549}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 730475ee64f9a894bbac0d9e6f22e813, type: 3}
m_Script: {fileID: 11500000, guid: f95ef096c5b141343896a3836e1d5a27, type: 3}
m_Name:
m_EditorClassIdentifier:
mode: 1
sensitivityDepth: 1
sensitivityNormals: 1
lumThreshold: 1
edgeExp: 1
sampleDist: 0.5
edgesOnly: 0
edgesOnlyBgColor: {r: 1, g: 1, b: 1, a: 1}
edgeDetectShader: {fileID: 4800000, guid: 0d1644bdf064147baa97f235fc5b4903, type: 3}
_limitFPSTo: 60
--- !u!1 &1623127388
GameObject:
m_ObjectHideFlags: 0
@@ -67,7 +67,11 @@ void AutoAim()
{
if ((hit.collider.gameObject.name == "AimPlane" || hit.collider.gameObject.tag == "Garbage" /*|| hit.collider.gameObject.name == "LineWall" || hit.collider.gameObject.name == "Lines"*/))
{
_createBallAndShootingAnimation();
if (Time.time > (_oldTime + 0.5f))
{
_oldTime = Time.time;
_createBallAndShootingAnimation();
}
}
}
}
@@ -22,6 +22,7 @@ public class FloatObjectScript : MonoBehaviour {
// Use this for initialization
void Start () {
_rigidbody = GetComponent<Rigidbody>();
Physics.IgnoreCollision(this.GetComponent<MeshCollider>(), GameObject.Find("AimPlane").GetComponent<MeshCollider>());
}

// Update is called once per frame
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -6,4 +6,4 @@ EditorBuildSettings:
serializedVersion: 2
m_Scenes:
- enabled: 1
path: Assets/Scenes/New Rogier Scene 1.unity
path: Assets/Scenes/Kees Scene 4.unity