예제 #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
파일: MainTitle.cs 프로젝트: Herondil/rugby
    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();
    }