- Home /
Question by
Arke12917 · Dec 28, 2017 at 10:52 AM ·
scripting problemsystem.io
How to check if File in streamingassets has exact same name as another variable/gameobject?
So uhhh I've been working on this code for a game of mine and everything works except for the naming else if statement (i have confirmed that the rest of the code works by itself using .contains and printing to the console) :
Soo how exactly would I get the script to check if the specific file in streaming assets has the EXACT same name as another variable? in this case the name of the game object. I know I'm probably doing this wrong but if anyone could tell me how I could accomplish this I would appreciate it.
Thanks in advance.
screen-shot-2017-12-28-at-41412-pm.png
(62.5 kB)
Comment