public void MergeFrom(UnityRLInput other) { if (other == null) { return; } agentActions_.Add(other.agentActions_); if (other.environmentParameters_ != null) { if (environmentParameters_ == null) { EnvironmentParameters = new global::MLAgents.CommunicatorObjects.EnvironmentParametersProto(); } EnvironmentParameters.MergeFrom(other.EnvironmentParameters); } if (other.IsTraining != false) { IsTraining = other.IsTraining; } if (other.Command != 0) { Command = other.Command; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }