Quiz 60

Regarding the last question in the quiz: Maybe I am wrong, but when you are asking about reference type, you are in fact asking for names of classes permitted there. As far as I’m concerned a Prefab is not a class and not a type, but rather a saved GameObject (+ its children, if any) and its state i.e. a snapshot of all properties’ values. So GameObject seems to be the only option there.

I would either put “What does this property expect?” and keep the answer or keep the question and change the answer to GameObject only to be programatically correct. Well… unless a Prefab is in fact a class, but I did not manage to find any confirmation on that.

Thanks, I’ve made that edit :slight_smile:

1 Like

Privacy & Terms