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

21 lines
375 B
C#
Raw Normal View History

2023-11-21 18:05:18 +08:00
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>();
}
}
}
}