public bool Equals(Drawing other) { if (ReferenceEquals(other, null)) { return(false); } if (ReferenceEquals(other, this)) { return(true); } if (Title != other.Title) { return(false); } if (!Resources.Equals(other.Resources)) { return(false); } if (!Styles.Equals(other.Styles)) { return(false); } if (!layers_.Equals(other.layers_)) { return(false); } return(Equals(_unknownFields, other._unknownFields)); }
/// <summary> /// Checks if the VideoSettings are valid and will work on the current PC system /// </summary> /// <returns>True if not null and settings are valid </returns> public bool IsValid() { if (!_windowStyle.Equals(null) && _videoMode.Valid && !_glContextSettings.Equals(null)) { return(true); } return(false); }
/// <summary> /// Checks if the VideoSettings are valid and will work on the current PC system /// </summary> /// <returns>True if not null and settings are valid </returns> public bool IsValid() { if (!WindowStyle.Equals(null) && WindowSettings.IsValid() && !OpenGLSettings.Equals(null)) { return(true); } else { return(false); } }
// Reads the next line of the dialogue sequence public void DisplayNextLine() { hasReadLine = false; if (dialStage < file.names.Count) { if (displayStyle.Equals(Styles.Default)) { dialName.text = file.names[dialStage]; dialText.text = file.dialogue[dialStage]; dialStage++; inputPressed = false; } } else { dialName.text = ""; dialText.text = ""; fileHasEnded = true; } }