Exemplo n.º 1
0
 // Use this for initialization
 void Awake()
 {
     fallingFrame = 1f / 60f;
     hangtime = hangtime * fallingFrame;
     maxHoverTime = maxHoverTime * fallingFrame;
     maxSpaceDown = maxSpaceDown * fallingFrame;
     moveRef = GetComponent<iceMove> ();
 }
Exemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     iceMove = transform.parent.GetComponent<iceMove> ();
     if(invincibilitySlider!=null)
         invincibilitySlider.value = 0;
 }
Exemplo n.º 3
0
 // Use this for initialization
 void Start()
 {
     skater = transform.parent.GetComponent<iceMove> ();
     skater.speedMultiplier = 1f;
     speedCounter = defaultSpeedCounter;
 }