コード例 #1
0
 void Start()
 {
     // コンポ―ネントの取得
     rigidbody = GetComponent <Rigidbody2D>();
     sm        = GameObject.Find("ScoreManager").GetComponent <ScoreManager>();
 }