Method Clone
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
Clone<T>(T)
Clones an object.
public static T Clone<T>(this T obj) where T : MonoBehaviour
Parameters
obj
T
Returns
- T
Type Parameters
T
Clone<T>(T, int)
Clones an object.
public static List<T> Clone<T>(this T obj, int count) where T : MonoBehaviour
Parameters
obj
Tcount
int
Returns
- List<T>
Type Parameters
T