Exemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     frog      = FindObjectOfType <FrogController>();
     Objective = FindObjectOfType <Objective>();
 }
Exemplo n.º 2
0
        // Start is called before the first frame update

        void Awake()
        {
            frog = FindObjectOfType <FrogController>();
        }
Exemplo n.º 3
0
 // Start is called before the first frame update
 private void Awake()
 {
     Objective = FindObjectOfType <Objective>();
     frog      = FindObjectOfType <FrogController>();
 }