public static string GetAssetId (GameObject go);

Parámetros

goTarget GameObject to get assetId for.

Valor de retorno

string The assetId of the game object's prefab.

Descripción

The Unity Multiplayer spawning system uses assetIds to identify what remote objects to spawn. This function allows you to get the assetId for the prefab associated with an object.