Class NetcodeForGameObjectsProjectSettings
Project settings for Netcode for GameObjects.
Inheritance
NetcodeForGameObjectsProjectSettings
Inherited Members
ScriptableSingleton<NetcodeForGameObjectsProjectSettings>.GetFilePath()
ScriptableSingleton<NetcodeForGameObjectsProjectSettings>.instance
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.Netcode.Editor.Configuration
Assembly: Unity.Netcode.Editor.dll
Syntax
[FilePath("ProjectSettings/NetcodeForGameObjects.asset", FilePathAttribute.Location.ProjectFolder)]
public class NetcodeForGameObjectsProjectSettings : ScriptableSingleton<NetcodeForGameObjectsProjectSettings>
Fields
GenerateDefaultNetworkPrefabs
Indicates whether to generate default network prefabs.
Declaration
[SerializeField]
public bool GenerateDefaultNetworkPrefabs
Field Value
Type | Description |
---|---|
bool |
NetworkPrefabsPath
The path to the network prefabs.
Declaration
[SerializeField]
public string NetworkPrefabsPath
Field Value
Type | Description |
---|---|
string |
TempNetworkPrefabsPath
A temporary path to the network prefabs.
Declaration
public string TempNetworkPrefabsPath
Field Value
Type | Description |
---|---|
string |