public static AntaresAddonController InitController()
{
if (thisScript != null)
{
ResetMultitags();
return thisScript;
}
GameObject go = new GameObject("AntaresController");
//!!!! AntaresAddonController.thisScript = go.AddComponent<AntaresAddonController>();
AntaresAddonController.AddMultitag("Untagged");
return AntaresAddonController.thisScript;
}
public Curve(GameObject curveObject)
{
//!!!! curveController = curveObject.GetComponent<BezierController>();
GetCurveLength(true);
curvePoints = curveController.wayPoints;
}
Вернуться в Компоненты (Копилка)
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 0