Class GenericPrefabObjectCreationData
Used to create a game object from a prefab in the editor and with a button
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEditor.MARS
Assembly: Unity.MARS.Editor.dll
Syntax
public class GenericPrefabObjectCreationData : ObjectCreationData
Methods
CreateGameObject(out GameObject, Transform)
Create a game object from the prefab creation data
Declaration
public override bool CreateGameObject(out GameObject createdObj, Transform parentTransform)
Parameters
Type | Name | Description |
---|---|---|
GameObject | createdObj | Prefab to instantiate. |
Transform | parentTransform | Parent transform of the newly created prefab. |
Returns
Type | Description |
---|---|
bool |
|