Unity获取Windows启动参数
Unity获取Windows启动参数
翱翔大使参加Unity开发比赛用的,多平台会有不同的启动参数。
所有启动参数将存储在变量(数组)“arguments”中。
1 | string[] arguments = Environment.GetCommandLineArgs(); |
参加Unity开发比赛用的,多平台会有不同的启动参数。
所有启动参数将存储在变量(数组)“arguments”中。
1 | string[] arguments = Environment.GetCommandLineArgs(); |