2D-Character-Controller icon indicating copy to clipboard operation
2D-Character-Controller copied to clipboard

Can't get it in Unity

Open gamertagjochem opened this issue 3 years ago • 1 comments

when I pull it to Unity there appears an error what says: !The referenced script (Unknown) on this Behaviour is missing! How can I fix that? The referenced script (Unknown) on this Behaviour is missing! unity 2D-Character-Controller

gamertagjochem avatar May 13 '21 17:05 gamertagjochem

Im guessing its because you pasted the entire script in instead of just the code inside the script class, this can cause the Public Class Script:Monobehaviour part to be incorrectly named and can cause problems, just rename the script again after you pasted it or change the code in the script instead to match the script name in the Unity interface.

TheGodlyDemon avatar Feb 19 '22 16:02 TheGodlyDemon