Last active
June 27, 2017 01:26
-
-
Save atakotestudios/34043039ba3454f2bf817c348be6aee8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class Goal : MonoBehaviour { | |
public int scoreMultiplier = 1; | |
void OnTriggerEnter(Collider col) | |
{ | |
if (col.CompareTag("projectile")) | |
{ | |
Debug.Log ("hit!!"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment