Unity type mismatch

Im working on and anrgy birds project in unity.Im trying to add a c# script to a gameobject through serializefield since its not the primary script.The script which im trying to add is part of a prefab.Its not letting me add the script to the gameobject it says type mismatch.What do I do?

Hi AmitG,

As it seems, nobody was able to help you with this problem. If you still need help with it, Please feel free to ask our community of students over on our Discord chat server. Good luck! :slight_smile:

Privacy & Terms