public override bool Read(GH_IO.Serialization.GH_IReader reader) { Factor = reader.GetDouble("MultiplierFactor"); _targetIds.Clear(); _targetObjs.Clear(); int targetCount = reader.GetInt32("TargetCount"); for (int i = 0; i < targetCount; i++) { Guid id = Guid.Empty; if (reader.TryGetGuid("TargetID", i, ref id)) { AddTarget(id); } } return(base.Read(reader)); }