Esempio n. 1
0
 // Start is called before the first frame update
 void Start()
 {
     singleton             = TardisSingleton.GetInstance();
     rotorWhiteLights      = new TardisLight("TimeRotorWhiteLight");
     orangeEngineLights    = new TardisLight("EngineLight");
     wallRoundYellowLights = new TardisLight("WallDecorationYellowLight");
     topLights             = new RotatingLight("MainLight", true);
     topRealLights         = new RealRotatingLight("Light");
     catwalkLights         = new TardisLight("CatwalkLight");
     bottomWallBlueLight   = new TardisLight("LongBlueLight");
     topWallBlueLight      = new TardisLight("WallDecorationBlueLight");
     topWallOrangeLight    = new TardisLight("WallDecorationOrangeLight");
 }
Esempio n. 2
0
    // Start is called before the first frame update
    void Start()
    {
        singleton = TardisSingleton.GetInstance();

        StartCoroutine(TardisMainCouroutine());
    }
Esempio n. 3
0
 // Start is called before the first frame update
 void Start()
 {
     singleton = TardisSingleton.GetInstance();
     step      = (Mathf.PI / 180.0f) * 20.0f;
     step     *= (clockwise) ? -1 : 1;
 }
Esempio n. 4
0
 // Start is called before the first frame update
 void Start()
 {
     audioSource = gameObject.AddComponent <AudioSource>();
     singleton   = TardisSingleton.GetInstance();
     lastState   = TardisState.Flying; //Tout sauf Shutdown
 }