private IEnumerator Start() { AnimatedFloatManager.Add(this, sx, false); AnimatedFloatManager.Add(this, sy, false); yield return(new WaitForSeconds(1.25f)); sx.target = sy.target = 1f; MusicManager.Play(MusicTrack.Start); yield return(new WaitForSeconds(1f)); acceptInput = true; }
private void Awake() { // Get all the points and add them to a public list points = new List <WormCursorPoint>(); foreach (Transform p in transform) { points.Add(p.GetComponent <WormCursorPoint>()); } manager = FindObjectOfType <RaceManager>(); AnimatedFloatManager.Add(this, steer, true); }
private void Start() { AnimatedFloatManager.Add(this, turn, true); AnimatedFloatManager.Add(this, scale, true); }
private void Start() { AnimatedFloatManager.Add(this, s, false); }
private void Awake() { manager = FindObjectOfType <RaceManager>(); AnimatedFloatManager.Add(this, keycodeSteering, true); }
private void Start() { AnimatedFloatManager.Add(this, messageX, true); AnimatedFloatManager.Add(this, messageY, true); }
private void Start() { AnimatedFloatManager.Add(this, FOV, true); FOV.value = FOV.target = FOVBase; }