Files
PuzzleColorBall/Assets/Scripts/IsGrounded.cs
2023-05-02 13:46:38 +02:00

14 lines
319 B
C#

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;
}
}