您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
31 行
595 B
31 行
595 B
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
|
|
public class Pathway : MonoBehaviour
|
|
{
|
|
[HideInInspector]
|
|
public List<Vector3> Waypoints;
|
|
|
|
#if UNITY_EDITOR
|
|
|
|
[SerializeField]
|
|
private Color _lineColor = Color.black;
|
|
|
|
[SerializeField, Range(0, 100)]
|
|
private int _textSize = 10;
|
|
|
|
[SerializeField]
|
|
private Color _textColor = Color.white;
|
|
|
|
public const string FIELD_LABEL = "Point ";
|
|
public const string TITLE_LABEL = "Waypoints";
|
|
|
|
public Color LineColor { get => _lineColor; }
|
|
public Color TextColor { get => _textColor; }
|
|
public int TextSize { get => _textSize; }
|
|
|
|
|
|
#endif
|
|
|
|
}
|