|
Post by freakofnature91 on Nov 15, 2020 16:35:39 GMT
I'm trying to set waypoints isValid to true or false at runtime.
I used the following code but it keeps returning null and giving me an error of Null Reference exception: object reference not set to an object.
waypointArea.GetWayPoint(7).isValid = true;
I have 16 waypoints all together
my variable for waypoint area in script is public vWaypointArea waypointArea; I cant find any other way to access then isValid bool in script. or at least where I'm looking.
|
|