Summary
Finds or creates an instance of T.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Containing Type
- Animancer
Editor Utilities
Syntax
public static T FindOrCreate<T>(ref T scriptableObject, HideFlags hideFlags = null)
where T : ScriptableObject
Type Parameters
| Name | Description |
|---|---|
| T |
Parameters
| Name | Type | Description |
|---|---|---|
| scriptableObject | T | |
| hideFlags | HideFlags |
Return Value
| Type | Description |
|---|---|
| T |