BITFALL/Assets/BITKit/UnityPluginsSupport/Polaris/PolarisTerrainChunkManager.cs

21 lines
375 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using Pinwheel.Griffin;
using UnityEngine;
namespace BITKit.WorldChunk
{
public class PolarisTerrainChunkManager : MonoBehaviour
{
private void Start()
{
foreach (var x in GetComponentsInChildren<GStylizedTerrain>())
{
x.gameObject.AddComponent<PolarisTerrainChunk>();
}
}
}
}