- Namespace
- ASL
.Manipulation .Objects - Base Types
-
- MonoBehaviour
graph TD
Base0["MonoBehaviour"]-->Type
Type["PrefabInstantiator"]
class Type type-node
Syntax
public class PrefabInstantiator : MonoBehaviour
Fields
Name | Constant Value | Summary |
---|---|---|
LocalOnly |
Toggle for instantiating the prefab locally or over the network
|
|
parent |
A GameObject to anchor as a parent in the heirarchy
|
|
prefabReference |
The prefab to be created
|
Methods
Name | Value | Summary |
---|---|---|
instantiatePrefab |
GameObject |
This function can be used by other classes to instantiate a prefab over ASL.
|