File tree Expand file tree Collapse file tree 1 file changed +9
-14
lines changed
UOP1_Project/Assets/Scripts/Characters/Config Expand file tree Collapse file tree 1 file changed +9
-14
lines changed Original file line number Diff line number Diff line change 1
1
using System . Collections . Generic ;
2
2
using UnityEngine ;
3
3
4
+ [ System . Serializable ]
5
+ public class WaypointData
6
+ {
7
+ public Vector3 waypoint ;
8
+ public List < Vector3 > corners ;
9
+ }
10
+
4
11
[ CreateAssetMenu ( fileName = "PathwayConfig" , menuName = "EntityConfig/Pathway Config" ) ]
5
12
public class PathwayConfigSO : NPCMovementConfigSO
6
13
{
14
+ [ HideInInspector ]
15
+ public List < WaypointData > Waypoints ;
7
16
8
17
#if UNITY_EDITOR
9
18
@@ -42,20 +51,6 @@ public class PathwayConfigSO : NPCMovementConfigSO
42
51
43
52
public bool RealTimeEnabled ;
44
53
45
- [ HideInInspector ]
46
- public List < WaypointData > Waypoints ;
47
-
48
54
#endif
49
55
50
56
}
51
-
52
- #if UNITY_EDITOR
53
-
54
- [ System . Serializable ]
55
- public class WaypointData
56
- {
57
- public Vector3 waypoint ;
58
- public List < Vector3 > corners ;
59
- }
60
-
61
- #endif
You can’t perform that action at this time.
0 commit comments