Class PrefabExtension
Extends prefab GameObjects with functionality related to the mocking system.
Inherited Members
Namespace: Jotunn
Assembly: Jotunn.dll
Syntax
public static class PrefabExtension
Methods
Name | Description |
---|---|
CloneFields(GameObject, GameObject) | Clones all fields from this GameObject to objectToClone. |
FixReferences(GameObject) | Resolves all references for mocks in this GameObject's components recursively |
FixReferences(GameObject, bool) | Resolves all references for mocks in this GameObject recursively. Can additionally traverse the transforms hierarchy to fix child GameObjects recursively. |
FixReferences(object) | Will attempt to fix every field that are mocks gameObjects / Components from the given object. |