Class VariaContext
Namespace: Varia
Assembly: cs.temp.dll.dll
Syntax
public class VariaContext
Constructors
VariaContext()
Declaration
Fields
randomState
Declaration
public Random.State randomState
Field Value
Type |
Description |
Random.State |
|
Properties
current
Declaration
public static VariaContext current { get; }
Property Value
depth
Declaration
public int depth { get; }
Property Value
log
Declaration
public bool log { get; set; }
Property Value
recordUndo
Declaration
public bool recordUndo { get; set; }
Property Value
Methods
Freeze(GameObject)
Declaration
public void Freeze(GameObject go)
Parameters
Type |
Name |
Description |
GameObject |
go |
|
Instantiate(GameObject)
Declaration
public GameObject Instantiate(GameObject original)
Parameters
Type |
Name |
Description |
GameObject |
original |
|
Returns
Type |
Description |
GameObject |
|
Instantiate(GameObject, Transform)
Declaration
public GameObject Instantiate(GameObject original, Transform parent)
Parameters
Type |
Name |
Description |
GameObject |
original |
|
Transform |
parent |
|
Returns
Type |
Description |
GameObject |
|
Instantiate(GameObject, Transform, Boolean)
Declaration
public GameObject Instantiate(GameObject original, Transform parent, bool worldPositionStays)
Parameters
Type |
Name |
Description |
GameObject |
original |
|
Transform |
parent |
|
Boolean |
worldPositionStays |
|
Returns
Type |
Description |
GameObject |
|
Instantiate(GameObject, Vector3, Quaternion)
Declaration
public GameObject Instantiate(GameObject original, Vector3 position, Quaternion rotation)
Parameters
Type |
Name |
Description |
GameObject |
original |
|
Vector3 |
position |
|
Quaternion |
rotation |
|
Returns
Type |
Description |
GameObject |
|
Instantiate(GameObject, Vector3, Quaternion, Transform)
Declaration
public GameObject Instantiate(GameObject original, Vector3 position, Quaternion rotation, Transform parent)
Parameters
Type |
Name |
Description |
GameObject |
original |
|
Vector3 |
position |
|
Quaternion |
rotation |
|
Transform |
parent |
|
Returns
Type |
Description |
GameObject |
|