// Use this for initialization void Start() { swimSpeedX = Random.Range(0.5f, 2f); GetComponent <SpriteRenderer> ().sprite = fishSpriteList.GetRandom(); }