coin db working
This commit is contained in:
13
Assets/Scripts/IsGrounded.cs
Normal file
13
Assets/Scripts/IsGrounded.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class IsGrounded : MonoBehaviour
|
||||
{
|
||||
public bool isGrounded = true;
|
||||
|
||||
private void OnCollisionEnter(Collision other) {
|
||||
//Debug.Log("pc <color=blue>"+other.gameObject.name+"</color>");
|
||||
isGrounded = true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user