PrefabExtensions.

InstantiateSingle(Prefab) Method

Summary

Instantiates a Prefab that contains a single Entity.
Namespace
StrideToolkit.Engine
Containing Type
PrefabExtensions

Syntax

public static Entity InstantiateSingle(this Prefab prefab)

Parameters

Name Type Description
prefab Prefab The Prefab to instantiate.

Return Value

Type Description
Entity The instatiated and translated Entity.