Answer the question
In order to leave comments, you need to log in
I want to assign array values from another script to a variable. Why gives Null Ref?
There is a variable A, whose value is equal to the first element of array B. Array B is stored in another script.
I'm trying to get info using GetComponent
otveDrugScr = gameObject.GetComponent<Playzadacha>().praOtvetiMidLvl1[1];
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question