public override void DeserializeSettings(GraphSerializationContext ctx) { base.DeserializeSettings(ctx); this.sourceMesh = (ctx.DeserializeUnityObject() as Mesh); this.offset = ctx.DeserializeVector3(); this.rotation = ctx.DeserializeVector3(); this.scale = ctx.reader.ReadSingle(); this.accurateNearestNode = ctx.reader.ReadBoolean(); }
public override void DeserializeSettingsCompatibility(GraphSerializationContext ctx) { base.DeserializeSettingsCompatibility(ctx); this.sourceMesh = (ctx.DeserializeUnityObject() as Mesh); this.offset = ctx.DeserializeVector3(); this.rotation = ctx.DeserializeVector3(); this.scale = ctx.reader.ReadSingle(); this.nearestSearchOnlyXZ = !ctx.reader.ReadBoolean(); }
public override void DeserializeSettingsCompatibility(GraphSerializationContext ctx) { base.DeserializeSettingsCompatibility(ctx); sourceMesh = ctx.DeserializeUnityObject() as Mesh; offset = ctx.DeserializeVector3(); rotation = ctx.DeserializeVector3(); scale = ctx.reader.ReadSingle(); accurateNearestNode = ctx.reader.ReadBoolean(); }
public override void DeserializeSettingsCompatibility(GraphSerializationContext ctx) { base.DeserializeSettingsCompatibility(ctx); root = ctx.DeserializeUnityObject() as Transform; searchTag = ctx.reader.ReadString(); maxDistance = ctx.reader.ReadSingle(); limits = ctx.DeserializeVector3(); raycast = ctx.reader.ReadBoolean(); use2DPhysics = ctx.reader.ReadBoolean(); thickRaycast = ctx.reader.ReadBoolean(); thickRaycastRadius = ctx.reader.ReadSingle(); recursive = ctx.reader.ReadBoolean(); ctx.reader.ReadBoolean(); // Deprecated field mask = (LayerMask)ctx.reader.ReadInt32(); }
public override void DeserializeSettingsCompatibility(GraphSerializationContext ctx) { base.DeserializeSettingsCompatibility(ctx); this.root = (ctx.DeserializeUnityObject() as Transform); this.searchTag = ctx.reader.ReadString(); this.maxDistance = ctx.reader.ReadSingle(); this.limits = ctx.DeserializeVector3(); this.raycast = ctx.reader.ReadBoolean(); this.use2DPhysics = ctx.reader.ReadBoolean(); this.thickRaycast = ctx.reader.ReadBoolean(); this.thickRaycastRadius = ctx.reader.ReadSingle(); this.recursive = ctx.reader.ReadBoolean(); ctx.reader.ReadBoolean(); this.mask = ctx.reader.ReadInt32(); this.optimizeForSparseGraph = ctx.reader.ReadBoolean(); ctx.reader.ReadBoolean(); }
public override void DeserializeSettings(GraphSerializationContext ctx) { base.DeserializeSettings(ctx); root = ctx.DeserializeUnityObject() as Transform; searchTag = ctx.reader.ReadString(); maxDistance = ctx.reader.ReadSingle(); limits = ctx.DeserializeVector3(); raycast = ctx.reader.ReadBoolean(); use2DPhysics = ctx.reader.ReadBoolean(); thickRaycast = ctx.reader.ReadBoolean(); thickRaycastRadius = ctx.reader.ReadSingle(); recursive = ctx.reader.ReadBoolean(); autoLinkNodes = ctx.reader.ReadBoolean(); mask = (LayerMask)ctx.reader.ReadInt32(); optimizeForSparseGraph = ctx.reader.ReadBoolean(); optimizeFor2D = ctx.reader.ReadBoolean(); }
public override void DeserializeSettings (GraphSerializationContext ctx) { base.DeserializeSettings(ctx); root = ctx.DeserializeUnityObject() as Transform; searchTag = ctx.reader.ReadString(); maxDistance = ctx.reader.ReadSingle(); limits = ctx.DeserializeVector3(); raycast = ctx.reader.ReadBoolean(); use2DPhysics = ctx.reader.ReadBoolean(); thickRaycast = ctx.reader.ReadBoolean(); thickRaycastRadius = ctx.reader.ReadSingle(); recursive = ctx.reader.ReadBoolean(); autoLinkNodes = ctx.reader.ReadBoolean(); mask = (LayerMask)ctx.reader.ReadInt32(); optimizeForSparseGraph = ctx.reader.ReadBoolean(); optimizeFor2D = ctx.reader.ReadBoolean(); }