This example is in C#
Error:
error CS0039: Cannot convert type UnityEngine.Object' to
QuestObject’ via a built-in conversion.
I’m trying to find all of the quest objects to update their status. I do not understand why this isn’t working as the object is being typecast. Is there a way around this?
QuestObject[] currentQuestObjects = FindObjectOfType(typeof(QuestObject)) as QuestObject[];