Skip to content

Commit 783a78d

Browse files
committed
Adding documentation to public API
1 parent f19a7b9 commit 783a78d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

com.unity.netcode.gameobjects/Runtime/Configuration/CommandLineOptions.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,15 @@
44

55
namespace Unity.Netcode
66
{
7+
/// <summary>
8+
/// This class contains a list of the application instance domain's command line arguments that
9+
/// are used when entering PlayMode or the build is executed.
10+
/// </summary>
711
public class CommandLineOptions
812
{
13+
/// <summary>
14+
/// Command Line Options Singleton
15+
/// </summary>
916
public static CommandLineOptions Instance { get; private set; } = null!;
1017

1118
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.SubsystemRegistration)]
@@ -34,7 +41,6 @@ public string GetArg(string arg)
3441
{
3542
return CommandLineArguments[argIndex + 1];
3643
}
37-
3844
return null;
3945
}
4046
}

0 commit comments

Comments
 (0)