10-02-2020, 12:27 PM
(10-02-2020, 12:15 PM)_Aka_ Wrote: Hi,
The list of members displayed are the members of the different scripts attached to the object you selected, for example CP0004. This object does not have a Speed member, so it is normal that it does not display. What you need to do is to set the code that checks what control point is reached and set the speed accordingly in a method, and then use that method as an event handler. You see what I mean?
In theory, I understand the overview of what you mean, but please forgive that I only started teaching myself this stuff for about 3 months. So how to do this feels very advanced to me. I tried to find tutorials but I haven't had luck. Should I create a new script from scratch OR is it just a matter of selecting the appropriate script from this list and adding something like: public float Speed... etc ?
And then maybe it will show up in the list for me to change?
Thanks and sorry if this is a very newbie ask.