You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
Dylan Dumesnil edited this page Jun 30, 2020
·
1 revision
The class MDArguments provides many helpers for checking and parsing the command line arguments that your game launched with.
To check if a particular argument exists:
if(MDArguments.HasArg("logprofile")){MDLog.Info(LOG_CAT,"Profiling [{0}] took {1}us",ProfileName,GetMicroSeconds());}
To get the value that an argument was set to, you can use MDArguments.GetArg(), MDArguments.GetArgInt(), or MDArguments.GetArgFloat(), depending on what type you need: