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