File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -892,10 +892,7 @@ private void InitBuiltInCommands()
892892 Screen . fullScreen = b ;
893893 LogSuccess ( $ "{ ( b ? "Enabled" : "Disabled" ) } fullscreen mode.") ;
894894 } ,
895- ( ) =>
896- {
897- LogVariable ( "Fullscreen" , Screen . fullScreen ) ;
898- }
895+ ( ) => LogVariable ( "Fullscreen" , Screen . fullScreen )
899896 ) ) ;
900897
901898 AddCommand ( Command . Create < int > (
@@ -914,10 +911,14 @@ private void InitBuiltInCommands()
914911 QualitySettings . vSyncCount = i ;
915912 LogSuccess ( $ "VSyncCount set to { i } .") ;
916913 } ,
917- ( ) =>
918- {
919- LogVariable ( "VSyncCount" , QualitySettings . vSyncCount ) ;
920- }
914+ ( ) => LogVariable ( "VSyncCount" , QualitySettings . vSyncCount )
915+ ) ) ;
916+
917+ AddCommand ( Command . Create (
918+ "resolution" ,
919+ "" ,
920+ "Display the current screen resolution" ,
921+ ( ) => LogVariable ( "Resolution" , Screen . currentResolution )
921922 ) ) ;
922923
923924 #endregion
You can’t perform that action at this time.
0 commit comments