Skip to content

Commit

Permalink
Renamed script
Browse files Browse the repository at this point in the history
  • Loading branch information
zane-c committed Nov 20, 2017
1 parent 8c2a2ec commit f163446
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 16 deletions.
1 change: 0 additions & 1 deletion Assets/Scripts/ManualBelt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Rigidbody2D> ();
if (rb.velocity.magnitude < MAX_SPEED) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<ManualBelt> ();
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f163446

Please sign in to comment.