Photon Fusion 1.1.11

Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
NetworkProjectConfigAsset Class Reference

Manages and references the current instance of NetworkProjectConfig More...

Inherits AssetObject.

Static Public Member Functions

static LocalPhysicsMode ConvertPhysicsMode (NetworkProjectConfig.PhysicsEngines engine)
 
static string GetSerializedConfigForRelay ()
 

Public Attributes

string[] AssembliesToWeave
 
NetworkProjectConfig Config = new NetworkProjectConfig()
 
string PrefabAssetsContainerPath = string.Empty
 Path to NetworkPrefabAssetCollection asset (created on demand if non-existent), which will serve as a host for lightweight NetworkPrefabAsset assets. They can be used to reference prefabs alternatively to NetworkPrefabRef and regular NetworkObject references, offering the best of two worlds: decoupling and Find References support.
Suggested path: Assets/Photon/Fusion/User/NetworkPrefabAssetCollection.asset More...
 
NetworkPrefabSourceUnityBase[] Prefabs = Array.Empty<NetworkPrefabSourceUnityBase>()
 An auto-generated list containing source information (e.g. Resource path, address, static reference) for all the prefabs that can be spawned, i.e. the ones with NetworkObject component and NetworkObject.IsSpawnable enabled.
Additional prefabs can registered at runtime with NetworkPrefabTable.TryAdd. More...
 

Static Public Attributes

static NetworkRunner. BuildTypes
 Get the version information for the Fusion.Runntime.dll. More...
 

Detailed Description

Manages and references the current instance of NetworkProjectConfig

Member Data Documentation

◆ AssembliesToWeave

string [] AssembliesToWeave
Initial value:
= new string[] {
"Assembly-CSharp", "Assembly-CSharp-firstpass"
}

◆ BuildTypes

NetworkRunner. BuildTypes
static

Get the version information for the Fusion.Runntime.dll.

◆ PrefabAssetsContainerPath

string PrefabAssetsContainerPath = string.Empty

Path to NetworkPrefabAssetCollection asset (created on demand if non-existent), which will serve as a host for lightweight NetworkPrefabAsset assets. They can be used to reference prefabs alternatively to NetworkPrefabRef and regular NetworkObject references, offering the best of two worlds: decoupling and Find References support.
Suggested path: Assets/Photon/Fusion/User/NetworkPrefabAssetCollection.asset

◆ Prefabs

NetworkPrefabSourceUnityBase [] Prefabs = Array.Empty<NetworkPrefabSourceUnityBase>()

An auto-generated list containing source information (e.g. Resource path, address, static reference) for all the prefabs that can be spawned, i.e. the ones with NetworkObject component and NetworkObject.IsSpawnable enabled.
Additional prefabs can registered at runtime with NetworkPrefabTable.TryAdd.