Us reading your mind is NOT A THING. You need to communicate properly.
How to report your problem productively in the Unity3D forums:
This is the bare minimum of information to report:
- what you want
- what you tried
- what you expected to happen
- links to documentation you used to cross-check your work (CRITICAL!!!)
- what actually happened, especially any errors you see
You may edit your post above.
Photographs of code are NOT A THING.
Unformatted code is also NOT A THING.
If you post a code snippet, ALWAYS USE CODE TAGS:
How to use code tags: Using code tags properly