浏览代码

Move out from Editor only section waypoints prop and WaypointData class

/main
Yohann Puyhaubert 4 年前
当前提交
247585ac
共有 1 个文件被更改,包括 9 次插入14 次删除
  1. 23
      UOP1_Project/Assets/Scripts/Characters/Config/PathwayConfigSO.cs

23
UOP1_Project/Assets/Scripts/Characters/Config/PathwayConfigSO.cs


using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class WaypointData
{
public Vector3 waypoint;
public List<Vector3> corners;
}
[HideInInspector]
public List<WaypointData> Waypoints;
#if UNITY_EDITOR

public bool RealTimeEnabled;
[HideInInspector]
public List<WaypointData> Waypoints;
#if UNITY_EDITOR
[System.Serializable]
public class WaypointData
{
public Vector3 waypoint;
public List<Vector3> corners;
}
#endif
正在加载...
取消
保存