Esempio n. 1
0
    public void Start()
    {
        Resources.UnloadUnusedAssets();

        this.gameObject.AddComponent<Timer>();
        inputs = this.gameObject.AddComponent<XboxInputs>();
        inputs.CheckAll();
    }
Esempio n. 2
0
    public void Start()
    {
        this.gameObject.AddComponent <Timer>();
        inputs = this.gameObject.AddComponent <XboxInputs>();
        inputs.CheckAll();

        state = Status.TITLE;
    }
Esempio n. 3
0
    public void Start()
    {
        this.gameObject.AddComponent<Timer>();
        inputs = this.gameObject.AddComponent<XboxInputs>();
        inputs.CheckAll();

        state = Status.TITLE;
    }
Esempio n. 4
0
    public void Start()
    {
        Resources.UnloadUnusedAssets();

        this.gameObject.AddComponent <Timer>();
        inputs = this.gameObject.AddComponent <XboxInputs>();
        inputs.CheckAll();
    }
Esempio n. 5
0
    public void Start()
    {
        inputs = this.gameObject.AddComponent<XboxInputs>();
        inputs.CheckAll();

        //QualitySettings.
        this.movie.loop = true;
        if (this.audio)
        {
            this.audio.loop = true;
            this.audio.clip = this.clip == null ? movie.audioClip : this.clip;
        }

        this.Play();
    }
Esempio n. 6
0
    public void Start()
    {
        inputs = this.gameObject.AddComponent <XboxInputs>();
        inputs.CheckAll();

        //QualitySettings.
        this.movie.loop = true;
        if (this.audio)
        {
            this.audio.loop = true;
            this.audio.clip = this.clip == null ? movie.audioClip : this.clip;
        }

        this.Play();
    }