using UnityEngine; using System.Collections; public class TrollController : MonoBehaviour { internal void Start () { var a = GetComponent() ; a["move"].speed = 0.5f + Random.Range(0,0.5f); } }