Skip to content

Instantly share code, notes, and snippets.

View JonathanYin's full-sized avatar
996

Jonathan Yin JonathanYin

996
View GitHub Profile
using UnityEngine;
public class GameOverManager : MonoBehaviour
{
public PlayerHealth playerHealth;
Animator anim;
using UnityEngine;
public class Coin : MonoBehaviour
{
public int scoreValue = 25;
public GameObject player;
public GameObject coin;
void OnTriggerEnter (Collider other)
{