Пример #1
0
 // Update is called once per frame
 void Start()
 {
     script = GetComponentInParent<Pillars_Flappy>();
 }
Пример #2
0
    // Update is called once per frame

    void Start()
    {
        script = GetComponentInParent <Pillars_Flappy>();
    }