mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-05-15 07:39:42 -05:00
-Added Debugger script for testing max player height on a jump -Added Malcolm's Toy block package for testing and level building -Updated Toy block prefabs to be proper scale -Started tutorial (valley) area greyboxing
18 lines
338 B
C#
18 lines
338 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class Debugger : MonoBehaviour
|
|
{
|
|
float y = 0;
|
|
|
|
private void FixedUpdate()
|
|
{
|
|
if (gameObject.transform.position.y > y)
|
|
{
|
|
y = gameObject.transform.position.y;
|
|
Debug.Log(y.ToString());
|
|
}
|
|
}
|
|
}
|