I have to move my GameManager-Script to a higher directory, due to accessability from another script.
But if I try to move the script from one folder to another directory - all references die! And I mean like - all references from all scripts.
It would be really hard to configure all scripts again from the scratch. Its like starting from the beginning.
Here is the GameManagement-Directory (Assets->Standard Assets):
Here is the the Directory, where I have to move the "GameManagement" to (Assets):
Maybe someone knows how to move scripts without reference loss.
Thanks in advance.
Ok guys I know what the problem was.
If you move files in Unity, make sure that you do that in the Explorer - NOT in the IDE.
Because you have to move the metadata-file with the script as well.
That worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With