diff --git a/Assets/Scripts/ManualBelt.cs b/Assets/Scripts/ManualBelt.cs index 564e597..2487a1b 100644 --- a/Assets/Scripts/ManualBelt.cs +++ b/Assets/Scripts/ManualBelt.cs @@ -70,7 +70,6 @@ public bool getPlaceable() { } void OnTriggerStay2D(Collider2D col) { - print (col.gameObject.layer); if (col.gameObject.layer == 11) { Rigidbody2D rb = col.gameObject.GetComponent (); if (rb.velocity.magnitude < MAX_SPEED) { diff --git a/Assets/Scripts/SpinnyDingScript.cs b/Assets/Scripts/NonPlaceableArea.cs similarity index 81% rename from Assets/Scripts/SpinnyDingScript.cs rename to Assets/Scripts/NonPlaceableArea.cs index a0442c6..95df524 100644 --- a/Assets/Scripts/SpinnyDingScript.cs +++ b/Assets/Scripts/NonPlaceableArea.cs @@ -2,18 +2,7 @@ using System.Collections.Generic; using UnityEngine; -public class SpinnyDingScript : MonoBehaviour { - - // Use this for initialization - void Start () { - - } - - // Update is called once per frame - void Update () { - - } - +public class NonPlaceableArea : MonoBehaviour { void OnTriggerEnter2D(Collider2D collider) { if (collider.gameObject.layer == 10) { ManualBelt belt = collider.gameObject.GetComponent (); diff --git a/Assets/Scripts/SpinnyDingScript.cs.meta b/Assets/Scripts/NonPlaceableArea.cs.meta similarity index 78% rename from Assets/Scripts/SpinnyDingScript.cs.meta rename to Assets/Scripts/NonPlaceableArea.cs.meta index 4c55769..0c57037 100644 --- a/Assets/Scripts/SpinnyDingScript.cs.meta +++ b/Assets/Scripts/NonPlaceableArea.cs.meta @@ -7,6 +7,6 @@ MonoImporter: defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: + userData: + assetBundleName: + assetBundleVariant: