protected override void InitNode() { QuadMesh = MeshFactory.MakePlane(GridResolution, GridResolution, MeshFactory.PLANE.XY, true, false, false); QuadMesh.bounds = new Bounds(Vector3.zero, new Vector3(1e8f, 1e8f, 1e8f)); TileSamplers = new List <TileSampler>(GetComponentsInChildren <TileSampler>()); TileSamplers.Sort(new TileSampler.Sort()); MPB = new MaterialPropertyBlock(); Origin = new Vector3(0.0f, 0.0f, Radius); if (NPS == null) { NPS = GetComponent <NoiseParametersSetter>(); } NPS.LoadAndInit(); }