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()
|
|
|
|
{
|
2024-01-03 00:27:12 +08:00
|
|
|
foreach (var x in GetComponentsInChildren<GTerrainChunk>())
|
2023-11-21 18:05:18 +08:00
|
|
|
{
|
|
|
|
x.gameObject.AddComponent<PolarisTerrainChunk>();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|