Version: 2017.4
public static string GetAssetId (GameObject go);

パラメーター

goTarget GameObject to get assetId for.

戻り値

string ゲームオブジェクトのプレハブの assetId

説明

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.