public override int GetHashCode() { int hash = 1; if (rlOutput_ != null) { hash ^= RlOutput.GetHashCode(); } if (rlInitializationOutput_ != null) { hash ^= RlInitializationOutput.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public void MergeFrom(UnityOutput other) { if (other == null) { return; } if (other.rlOutput_ != null) { if (rlOutput_ == null) { rlOutput_ = new global::MLAgents.CommunicatorObjects.UnityRLOutput(); } RlOutput.MergeFrom(other.RlOutput); } if (other.rlInitializationOutput_ != null) { if (rlInitializationOutput_ == null) { rlInitializationOutput_ = new global::MLAgents.CommunicatorObjects.UnityRLInitializationOutput(); } RlInitializationOutput.MergeFrom(other.RlInitializationOutput); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }