Exemplo n.º 1
0
 /// <summary>
 /// 
 /// </summary>
 void Start()
 {
     //set up instances to our taxi and passenger scripts
     psngrScript = scrPassenger.Instance;
     txiDrvrScript = scrTaxiDriver.Instance;
     txiCntlr = scrTaxiController.Instance;
 }
Exemplo n.º 2
0
    /// <summary>
    /// 
    /// </summary>
    void Start()
    {
        //set up instances to our taxi and passenger scripts
        psngrScript = scrPassenger.Instance;
        txiDrvrScript = scrTaxiDriver.Instance;

        Fare = new clsUIInfo();
        Earnings = new clsUIInfo();
        PasngMsg = new clsUIInfo();
        Damage = new clsUIInfo();
        Taxis = new clsUIInfo();
        Fuel = new clsUIInfo();
    }
Exemplo n.º 3
0
 /// <summary>
 /// Awake this instance.
 /// </summary>
 void Start()
 {
     psngrScript = scrPassenger.Instance;
     txiDrvrScript = scrTaxiDriver.Instance;
     txiCntlr = scrTaxiController.Instance;
 }
Exemplo n.º 4
0
 /// <summary>
 /// 
 /// </summary>
 void Start()
 {
     //get a reference of the taxi driver script
     taxiDriverScript = scrTaxiDriver.Instance;
 }
Exemplo n.º 5
0
 /// <summary>
 /// 
 /// </summary>
 void Start()
 {
     taxi = scrTaxiDriver.Instance;
     passenger = scrPassenger.Instance;
     anim = GetComponent<Animator>();
 }
Exemplo n.º 6
0
 /// <summary>
 /// Awake this instance.
 /// </summary>
 void Awake()
 {
     objTaxiTop = GameObject.Find("taxiTop");
     state = enStates.landed;
     scrTaxiDriver.Instance = this;
     smoke = gameObject.GetComponentInChildren<ParticleEmitter>();
     //load the score from the previous level
     fltEarnings = PlayerPrefs.GetFloat(clsGameConstants.strEarningsKey);
     intLives = PlayerPrefs.GetInt(clsGameConstants.strLivesKey);
     reSpawnPlayer();
     //turn the taxi light on
     SetTaxiSign(true);
 }