mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-05-07 14:32:03 -05:00
-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
16 lines
370 B
C#
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;
|
|
}
|
|
|
|
}
|