Skip to main content

New Page

public float speed = 5.0f;

the word public can be changed to private, this denotes the accessability of the variable/class/other

private float speed = 5.0f;also

when we do 5.0 as a variable, its not understandable because its a decimal number

so since its not an intiger we need to use float to do decimals coz its a floating point number :D
what happens when we do dword :D