public static Task SaveAsync(string path, NavMeshWayPointData data) { // ISSUE: variable of a compiler-generated type WayPointDataSerializedValue.\u003CSaveAsync\u003Ec__async0 saveAsyncCAsync0; // ISSUE: reference to a compiler-generated field saveAsyncCAsync0.path = path; // ISSUE: reference to a compiler-generated field saveAsyncCAsync0.data = data; // ISSUE: reference to a compiler-generated field saveAsyncCAsync0.\u0024builder = AsyncTaskMethodBuilder.Create(); // ISSUE: reference to a compiler-generated field ref AsyncTaskMethodBuilder local = ref saveAsyncCAsync0.\u0024builder;
public WayPointDataSerializedValue(NavMeshWayPointData data) { this.MapID = data.MapID; this.WayData = ((IEnumerable <Vector3>)data.Points).ToArray <Vector3>(); }