よく
transform.GetComponent(Hoge);
のように使われるtransformなどの変数らしきもの。
中身どうなってるのか見た。
・transform
using System;
public Transform transform
{
get
{
return this.InternalGetTransform ();
}
}
・gameObject
using System;
public GameObject gameObject
{
get
{
return this.InternalGetGameObject ();
}
}
・rigidbody
using System;
using System.Runtime.CompilerServices;
public extern Rigidbody rigidbody
{
[WrapperlessIcall ]
[MethodImpl (MethodImplOptions.InternalCall)]
get;
}
・animation
using System;
using System.Runtime.CompilerServices;
public extern Animation animation
{
[WrapperlessIcall ]
[MethodImpl (MethodImplOptions.InternalCall)]
get;
}
・renderer
using System;
using System.Runtime.CompilerServices;
public extern Renderer renderer
{
[WrapperlessIcall ]
[MethodImpl (MethodImplOptions.InternalCall)]
get;
}
animationとrendererとrigidbodyは特別な感じがする。
externとか使ってる。