Hi i have a coding problem where it says that parameter open does not exist does anyone know how to fix that?
Solved
Sort by:
Best
Open comment sort options
Best
Top
New
Controversial
Old
Q&A
The bool in your animator is called "Open" not "open", it's case sensitive
Also, don't use
other.tag == "Player"
. Useother.CompareTag("Player")
instead.Also also, you can get rid of the
// Use this for initialization
and// Update is called once per frame
lines by editing the template script. You can also add stuff like your company name etc. on top!The file path is %EDITOR_PATH%\Data\Resources\ScriptTemplates
May I know the reason?
This appears to be a question submitted to r/Unity3D.
If you are the OP:
Please remember to change this thread's flair to 'Solved' if your question is answered.
And please consider referring to Unity's official tutorials, user manual, and scripting API for further information.
Otherwise:
Please remember to follow our rules and guidelines.
Please upvote threads when providing answers or useful information.
And please do NOT downvote or belittle users seeking help. (You are not making this subreddit any better by doing so. You are only making it worse.)
Thank you, human.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
this is the animator btw
There’s your answer then. It’s not “open”.
The parameter is called "Open", but in the code you have written "open".
A bit unrelated but try Rider (has a free trial) see how you like it. It catches stuff like that.
Hmm will try that
Is it Mystique 2 game?
Sorry but I don't know what you're talking about
I saw similar game on Android/iOS 15 years ago. It called The Mystique 2
Oh lmao I checked it and it's very hard to find but how do you even remember a game thats so old haha
Oh damn, I'm stupid hahaha thank you for noticing it for me not quite familiar with coding yet🥲