campfire/Assets/Scripts/DebuggingSteve.cs
2020-04-20 04:55:29 +03:00

19 lines
389 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DebuggingSteve : MonoBehaviour {
public Lorax Lorax;
public bool Reveal;
void Update() {
if (Reveal) {
Reveal = false;
var chunk = Lorax.GetChunkAt(transform.position.x, transform.position.z);
chunk.SetActive(true);
}
}
}