TrollController.cs 222 B

1234567891011
  1. using UnityEngine;
  2. using System.Collections;
  3. public class TrollController : MonoBehaviour {
  4. internal void Start ()
  5. {
  6. var a = GetComponent<Animation>() ;
  7. a["move"].speed = 0.5f + Random.Range(0,0.5f);
  8. }
  9. }