public void StartRandomPathCreationCoroutine() { currentRandomPath = RandomPath.CreateInstance(typeof(RandomPath)) as RandomPath; StartCoroutine(currentRandomPath.CreatePathCoroutine(this, transform, target, steps, startColor, environmentCheck, debugRayDuration)); }
public void CreateRandomPath() { currentRandomPath = RandomPath.CreateInstance(typeof(RandomPath)) as RandomPath; currentRandomPath.CreatePath(transform, target, steps, startColor, environmentCheck, debugRayDuration); }