Class PrefabBuilder
Represents the first step on building a custom component prefab.
Inheritance
System.Object
PrefabBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: PiTung.Components
Assembly: PiTung.dll
Syntax
public static class PrefabBuilder
Properties
| Improve this Doc View SourceCube
Returns a cube builder.
Declaration
public static CubeBuilder Cube { get; }
Property Value
Type | Description |
---|---|
CubeBuilder |
Methods
| Improve this Doc View SourceCustom(Func<GameObject>)
Returns a custom GameObject builder.
Declaration
public static CustomBuilder Custom(Func<GameObject> root)
Parameters
Type | Name | Description |
---|---|---|
System.Func<UnityEngine.GameObject> | root | The function that returns the game object. |
Returns
Type | Description |
---|---|
CustomBuilder |