Commit 69c3571b by Philipp Adolf

Delete 'Spikes' script

parent 661dc800
using UnityEngine;
using System.Collections;
public class Spikes : MonoBehaviour {
float damage; //the amount of damage the spikes make.
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void OnCollisionEnter2D(Collision2D coll)
{
if (coll.gameObject.tag == "Player")
{
//TODO: do damage
}
}
}
fileFormatVersion: 2
guid: 6420b29453e1bf744941e7bec3f7d443
timeCreated: 1433438590
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment