private void Start()
    {
        TQ = FindObjectOfType <Test_Questions>();
        TA = FindObjectOfType <Test_Answers>();

        PL = FindObjectOfType <Player_Life>();

        cs = FindObjectOfType <cannon_shoot>();

        RI = FindObjectOfType <RandomIndex>();
    }
Beispiel #2
0
    // Start is called before the first frame update
    void Start()
    {
        cs = FindObjectOfType <cannon_shoot>();

        sr = gameObject.GetComponent <SpriteRenderer>();
    }