List of MovieTextures -

Crazy question…I’m making a little video player in this project and I’d like the names of the files to be shown…however when I use the array location and .ToString(), what I get is:

“MovieName (UnityEngine.MovieTexture)”

Any thoughts how I can get it to ONLY return to me “MovieName” and lose the “(UnityEngine.MovieTexture)”?

Thanks!

You can try to split the string.

You can also name your GameObjects when loading them, and retrieve it again with GameObject.name.

Finally, you can use tags.

Good luck!