diff --git a/Assets/Mirror/Runtime/ClientScene.cs b/Assets/Mirror/Runtime/ClientScene.cs index 84e65c5c4..aaed283c3 100644 --- a/Assets/Mirror/Runtime/ClientScene.cs +++ b/Assets/Mirror/Runtime/ClientScene.cs @@ -350,6 +350,8 @@ public static void RegisterPrefab(GameObject prefab) /// An assetId to be assigned to this GameObject. This allows a dynamically created game object to be registered for an already known asset Id. /// A method to use as a custom spawnhandler on clients. /// A method to use as a custom un-spawnhandler on clients. + // NOTE: registering with assetId is useful for assetbundles etc. a lot + // of people use this. public static void RegisterPrefab(GameObject prefab, Guid newAssetId, SpawnDelegate spawnHandler, UnSpawnDelegate unspawnHandler) { // We need this check here because we don't want a null handler in the lambda expression below