Class CodeGenNamespaceUtils
Namespace: Unity.NetCode.Editor
Syntax
public class CodeGenNamespaceUtils
Methods
GenerateNamespaceFromAssemblyName(String)
Declaration
public static string GenerateNamespaceFromAssemblyName(string assemblyGeneratedName)
Parameters
| Type | Name | Description |
|---|---|---|
| String | assemblyGeneratedName |
Returns
| Type | Description |
|---|---|
| String |
GetValidNamespaceForType(String, String)
Declaration
public static string GetValidNamespaceForType(string generatedNs, string ns)
Parameters
| Type | Name | Description |
|---|---|---|
| String | generatedNs | |
| String | ns |
Returns
| Type | Description |
|---|---|
| String |