Class LunyPrefab
public abstract class LunyPrefab : LunyAsset, ILunyPrefab, ILunyAsset
Expand Details ...
- Inheritance
-
ObjectLunyPrefab
- Implements
- Derived
Constructors
LunyPrefab(Object, LunyAssetPath)
protected LunyPrefab(Object nativePrefabAsset, LunyAssetPath assetPath)
Parameters
| Type | Name | Description |
|---|---|---|
nativePrefabAsset |
||
assetPath |
Methods
Instantiate<T>(ILunyObject)
public abstract T Instantiate<T>(ILunyObject parent = null) where T : class
Parameters
| Type | Name | Description |
|---|---|---|
parent |
Returns
- T
Type Parameters
T