Alright, I can give you the project's files in a google drive link. The demo is unfinished and needs a lot of work but you can see what I've done so far. (They're for Unity 2019.2.4f1)
Alright, here is a hideable locker texture. Opened texture is above.
Closed
The script: https://drive.google.com/file/d/1eRIfHP4KNLbXMdbHTictvD3XP8C3W39v/view?usp=shari...
The way you fix that is by going to playerscript and changing the playerrotation variable from private to public. That's why you are getting the errors. Also, here's a version of the RLG Project for Unity: https://drive.google.com/file/d/1oQUjYjBNSdJtK8Zm1QliYLQ5xRpi0Tso/view?usp=shari...
Sorry for being absent for over 4 months, but can you take a good look at the script in the problem thing I made? Link to the thing: https://baldis-son1.itch.io/help-me-with-a-problem