Constructor EntityPrefabReference
EntityPrefabReference(Hash128)
Construct an EntityPrefabReference from a GUID.
Declaration
public EntityPrefabReference(Hash128 guid)
Parameters
| Type | Name | Description | 
|---|---|---|
| Hash128 | guid | The prefab asset GUID.  | 
    
EntityPrefabReference(GameObject)
Construct an EntityPrefabReference from a GameObject.
Declaration
public EntityPrefabReference(GameObject prefab)
Parameters
| Type | Name | Description | 
|---|---|---|
| GameObject | prefab | The prefab to construct from.  |