Show / Hide Table of Contents

Method ClonePrefab

| Edit this page View Source

ClonePrefab(GameObject, string, Transform)

Clones a prefab and registers it in the SoftReference system with the same dependencies as the original asset
Declaration
public GameObject ClonePrefab(GameObject asset, string newName, Transform parent)
Parameters
Type Name Description
GameObject asset
string newName
Transform parent
Returns
Type Description
GameObject
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾