Wrote gameobject script prototype