Пример #1
0
    public void Start()
    {
        Resources.UnloadUnusedAssets();

        this.gameObject.AddComponent<Timer>();
        inputs = this.gameObject.AddComponent<XboxInputs>();
        inputs.CheckAll();
    }
Пример #2
0
    public void Start()
    {
        this.gameObject.AddComponent <Timer>();
        inputs = this.gameObject.AddComponent <XboxInputs>();
        inputs.CheckAll();

        state = Status.TITLE;
    }
Пример #3
0
    public void Start()
    {
        this.gameObject.AddComponent<Timer>();
        inputs = this.gameObject.AddComponent<XboxInputs>();
        inputs.CheckAll();

        state = Status.TITLE;
    }
Пример #4
0
    public void Start()
    {
        Resources.UnloadUnusedAssets();

        this.gameObject.AddComponent <Timer>();
        inputs = this.gameObject.AddComponent <XboxInputs>();
        inputs.CheckAll();
    }
Пример #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();
    }
Пример #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();
    }