Created field speed in GameObject.