|
|
|
@ -2,7 +2,7 @@ using UnityEngine;
|
|
|
|
|
|
|
|
|
|
namespace CameraRoll.Client.Tool {
|
|
|
|
|
public class PathPoint : MonoBehaviour {
|
|
|
|
|
private const float AxisLength = 0.1f;
|
|
|
|
|
private const float AxisLength = 0.2f;
|
|
|
|
|
|
|
|
|
|
void Start() {
|
|
|
|
|
CreateAxis(Vector3.right, Color.red);
|
|
|
|
@ -20,8 +20,8 @@ namespace CameraRoll.Client.Tool {
|
|
|
|
|
lr.SetPosition(1, dir.normalized * AxisLength);
|
|
|
|
|
lr.material = new Material(Shader.Find("Unlit/Color"));
|
|
|
|
|
lr.material.color = color;
|
|
|
|
|
lr.startWidth = 0.01f;
|
|
|
|
|
lr.endWidth = 0.01f;
|
|
|
|
|
lr.startWidth = 0.02f;
|
|
|
|
|
lr.endWidth = 0.02f;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|