Axiom.SceneManagers.PortalConnected.PCZSceneManager.GetOption C# (CSharp) Метод

GetOption() публичный Метод

public GetOption ( string key, object &val ) : bool
key string
val object
Результат bool
		public bool GetOption( string key, ref object val )
		{
			if ( key == "ShowBoundingBoxes" )
			{
				val = showBoundingBoxes;
				return true;
			}
			if ( key == "ShowPortals" )
			{
				val = showPortals;
				return true;
			}

			if ( Options.ContainsKey( key ) )
			{
				val = Options[ key ];

				return true;
			}

			return false;
		}