You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
765 B
C#

4 years ago
using UnityEditor;
using UnityEngine;
namespace GeNa.Core
{
[InitializeOnLoad]
public class GeNaGaiaGeoSpacialUtility
{
static GeNaGaiaGeoSpacialUtility() => GeNaEvents.BakeSpline = GeoSpacialBakeSpline;
/// <summary>
/// Function used to execute all the extensions and then bake the mesh which returns the baked gameobject
/// </summary>
/// <param name="splineParent"></param>
/// <param name="splineObject"></param>
/// <param name="spline"></param>
/// <param name="executeExtensions"></param>
/// <returns></returns>
private static GameObject GeoSpacialBakeSpline(GameObject splineParent, GeNaSpline spline) => GeNaUtility.BakeSpline(splineParent, spline);
}
}