Axiom.SceneManagers.PortalConnected.LightInfo.Equals C# (CSharp) Method

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool
		public override bool Equals( object obj )
		{
			if ( !( obj is LightInfo ) )
				return false;

			LightInfo rhs = (LightInfo)obj;
			return this.light == rhs.light && this.type == rhs.type &&
				   this.range == rhs.range && this.position == rhs.position;
		}