public MergeActionChangeValues(GameObject ours, Object ourObject, SerializedProperty ourProperty, SerializedProperty theirProperty) : base(ours, null) { this.ourObject = ourObject; this.ourProperty = ourProperty; this.theirProperty = theirProperty; fieldname = ourObject.GetPlainType() + "." + ourProperty.GetPlainName(); ourInitialValue = ourProperty.GetValue(); theirInitialValue = theirProperty.GetValue(); ourString = SerializedValueString(ourProperty); theirString = SerializedValueString(theirProperty); }