示例#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
文件: Video.cs 项目: sylafrs/rugby
    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();
    }