class MAGES::Networking::Editor::PrefabConfiguration::PhotonPrefabConfigurator¶
Overview¶
Automatically configures all in project assets and attaches the required Photon scripts. More…
class PhotonPrefabConfigurator: public AssetPostprocessor { public: // methods static void ApplyPhotonConfigurationInPrefabs(); void OnPostprocessPrefab(GameObject g); };
Detailed Documentation¶
Automatically configures all in project assets and attaches the required Photon scripts.
Methods¶
static void ApplyPhotonConfigurationInPrefabs()
Finds all prefabs in the project and applies the Photon Networking configuration to them.
void OnPostprocessPrefab(GameObject g)
Called by unity when a prefab is done importing.
Parameters:
g |
The prefab. |