Does have or use it in C’ Script as I am trying to get player object to enter and exit a vehicle I did get some scripts but I was wondering whether it would be better to include the scripts at certain point(I.E. when the player enters and exits a vehicle) Rather than cut and paste it into a script is that possible?
What you’re trying to accomplish feels suboptimal.
Instead, when the player enters a vehicle, disable the ground movement script and enable the vehicle movement script. Reverse the process for when they exit the vehicle.
No. C# does not support include.
Classic way to do this is with inheritance. However this has all of its own associated problems.
@GroZZleR 's component based solution is one common way to do this.
OK thank you though I probably will need your component based solution GroZZler to do this or at lease show me how its done as BoredMormon suggested and that actually should have read include