Method Instantiate
Instantiate<TObject>(TObject)
Instantiate an object with the parameters of this object.
선언
public TObject Instantiate<TObject>(TObject source) where TObject : Object
파라미터
타입 | 이름 | 설명 |
---|---|---|
TObject | source | Object to instantiate. |
반환
타입 | 설명 |
---|---|
TObject | Returns the instantiated object. |
타입 파라미터
이름 | 설명 |
---|---|
TObject | Object type. This type must be of type UnityEngine.Object. |