TrailRenderer Easy C / C# Script - Unity
Budget: €8 – €30 EUR
Hello,
I want to have trails for my character. So I added the script TrailRenderer to my character.
The trail is working, so this is good.
However, I want 2 functions:
1. When I press a keybind, I want it to either activate/deactivate the trail for my character. I usually do this by adding a script called 'Activate (Script)', put a keybind and the GameObject but this can't work with TrailRenderer because this is not a game object.
I know you basically have to do something really easy like:
"if (Input.GetKeyDown(KeyCode.*))
{
Trail.SetActive(true);"
But I have no knowledge in coding so I prefer you to do it fast without any errors.
2. I want that when I press another keybinds, it switchs the colors of the trail of my character.
So can you do a fast script about these 2 functions ?
As this is something relatively easy, I'm looking for a cheap price, hope you understand.
Please only contact me after you did research on the problem or write the script.
Thanks
I want to have trails for my character. So I added the script TrailRenderer to my character.
The trail is working, so this is good.
However, I want 2 functions:
1. When I press a keybind, I want it to either activate/deactivate the trail for my character. I usually do this by adding a script called 'Activate (Script)', put a keybind and the GameObject but this can't work with TrailRenderer because this is not a game object.
I know you basically have to do something really easy like:
"if (Input.GetKeyDown(KeyCode.*))
{
Trail.SetActive(true);"
But I have no knowledge in coding so I prefer you to do it fast without any errors.
2. I want that when I press another keybinds, it switchs the colors of the trail of my character.
So can you do a fast script about these 2 functions ?
As this is something relatively easy, I'm looking for a cheap price, hope you understand.
Please only contact me after you did research on the problem or write the script.
Thanks