23/09/08 15:59:57.42 OYwRjle1.net
多分読まないと思うけど
URLリンク(docs.unity3d.com)
Transform はComponentから
GameObjectはObjectからの継承
Component.transform
Component.gameObject
GameObject.transform
の関係かなぁ
分かりにくいけどね
んでThisは
URLリンク(docs.unity3d.com)
ここ読んでなんとなくわかってもらえるといいけど
// Removes this script instance from the game object
Destroy(this);
これやるとゲームオブジェクトは消去されないでscript instance
のみ消えるというから要注意