This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
public class Bezier3D : MonoBehaviour | |
{ | |
public Vector3 start = new Vector3(0, 0, 0); | |
public Vector3 end = new Vector3(1, 1, 0); | |
public Vector3 handle1 = new Vector3(0, 1, 0); | |
public Vector3 handle2 = new Vector3(1, 0, 0); |