TheKingsRace/Assets/Prefabs/Environment/ForceRenderDistance.cs
Vincent Wheat e08cb61e30 Adjusted level
-Added force render distance script
-Added slow down zone as a network prefab, replaced old zones in scene, added prefab to preloader
-Adjusted tutorial wall height
2022-04-01 11:52:47 -05:00

16 lines
370 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ForceRenderDistance : MonoBehaviour
{
[SerializeField]
private int detailRenderDistance = 1000;
// Start is called before the first frame update
void Start()
{
gameObject.GetComponent<Terrain>().detailObjectDistance = detailRenderDistance;
}
}