public void Reset()
    {
        EditorOnlyToolSettings = new ToolSettings();

        var dynamicBezier = new DynamicBezier(
            new Vector3(0.5f, 0f, 0f),
            new Vector3(0f, 0.5f, 0.5f),
            new Vector3(0.5f, 1.0f, 0.5f),
            new Vector3(1.5f, 1f, 1f),
            new Vector3(1f, 1.5f, 1.5f)
            );
        Path = new DynamicBezierPath(transform, dynamicBezier);
    }
Beispiel #2
0
 public DynamicBezierPath(Transform localSpace, DynamicBezier localBezier)
     : this(localSpace)
 {
     LocalBezier = localBezier;
 }
 public DynamicBezierPath(Transform localSpace, DynamicBezier localBezier)
     : this(localSpace)
 {
     LocalBezier = localBezier;
 }