UnityEngine.Object クラス
public class Object
- Unity が参照できるすべてのオブジェクトの基底クラスです。
フィールド
name
public string name
- オブジェクト名
メソッド
Destroy
public static void Destroy(Object obj, float t = 0.0F)
Instantiate
public static Object Instantiate (Object original)
public static Object Instantiate (Object original, Transform parent)
public static Object Instantiate (Object original, Transform parent, bool instantiateInWorldSpace)
public static Object Instantiate (Object original, Vector3 position, Quaternion rotation);
public static Object Instantiate (Object original, Vector3 position, Quaternion rotation, Transform parent)
public static T Instantiate (T original)
public static T Instantiate (T original, Transform parent)
public static T Instantiate (T original, Transform parent, bool worldPositionStays)
public static T Instantiate (T original, Vector3 position, Quaternion rotation)
public static T Instantiate (T original, Vector3 position, Quaternion rotation, Transform parent)
- 引数で指定されたオブジェクトのクローンを作成します。
コメント