コード例 #1
0
    void Start()
    {
        ScorePlayer2 = score2.GetComponent <Text>();
        NoteD        = GameObject.FindGameObjectWithTag("NoteDestroyer");
        noteDestroy  = NoteD.GetComponent <NoteDestroyer>();


        old = color.color;
    }
コード例 #2
0
 // Use this for initialization
 void Start()
 {
     health = GetComponent <NoteDestroyer>();
 }
コード例 #3
0
ファイル: activeters.cs プロジェクト: rickygr97/heart-sim
 // Use this for initialization
 void Start()
 {
     nt = GetComponent <note>();
     //      sp = nt.speed;
     health = GetComponent <NoteDestroyer>();
 }