Answer the question
In order to leave comments, you need to log in
Explain why the following line causes an error in Unity(C#)?
Explain plz. why does the following line cause an error in Unity:
scene_controll = gameObject.Find("Big_enemy").GetComponent<SceneController>();
SceneController scene_controll;
scene_controll = gameObject.Find("Big_enemy").GetComponent("SceneController");
Answer the question
In order to leave comments, you need to log in
scene_controll = GameObject.Find("Big_enemy").GetComponent<SceneController>();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question