Skip to content

Commit

Permalink
added inclass code
Browse files Browse the repository at this point in the history
  • Loading branch information
periode committed Feb 1, 2018
1 parent e14eac2 commit c806206
Show file tree
Hide file tree
Showing 25 changed files with 28,135 additions and 0 deletions.
24 changes: 24 additions & 0 deletions 02_environments/2_InClass/Assets/FloorReaction.cs
@@ -0,0 +1,24 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class FloorReaction : MonoBehaviour {

// Use this for initialization
void Start () {

}

// Update is called once per frame
void Update () {

}

void OnTriggerEnter(Collider col){
Debug.Log ("collided with " + col.gameObject.name);
}

void OnCollisionEnter(Collision col){
Debug.Log ("collision with " + col.gameObject.name);
}
}
13 changes: 13 additions & 0 deletions 02_environments/2_InClass/Assets/FloorReaction.cs.meta

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

0 comments on commit c806206

Please sign in to comment.