Esempio n. 1
0
        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;
        }
Esempio n. 2
0
        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);
        }
Esempio n. 3
0
 private void Start()
 {
     AnimatedFloatManager.Add(this, turn, true);
     AnimatedFloatManager.Add(this, scale, true);
 }
 private void Start()
 {
     AnimatedFloatManager.Add(this, s, false);
 }
Esempio n. 5
0
 private void Awake()
 {
     manager = FindObjectOfType <RaceManager>();
     AnimatedFloatManager.Add(this, keycodeSteering, true);
 }
Esempio n. 6
0
 private void Start()
 {
     AnimatedFloatManager.Add(this, messageX, true);
     AnimatedFloatManager.Add(this, messageY, true);
 }
Esempio n. 7
0
 private void Start()
 {
     AnimatedFloatManager.Add(this, FOV, true);
     FOV.value = FOV.target = FOVBase;
 }