예제 #1
0
    public void Start()
    {
        this.gameObject.AddComponent <Timer>();
        inputs = this.gameObject.AddComponent <XboxInputs>();
        inputs.CheckAll();

        state = Status.TITLE;
    }
예제 #2
0
    public void Start()
    {
        Resources.UnloadUnusedAssets();

        this.gameObject.AddComponent<Timer>();
        inputs = this.gameObject.AddComponent<XboxInputs>();
        inputs.CheckAll();
    }
예제 #3
0
    public void Start()
    {
        Resources.UnloadUnusedAssets();

        this.gameObject.AddComponent <Timer>();
        inputs = this.gameObject.AddComponent <XboxInputs>();
        inputs.CheckAll();
    }
예제 #4
0
파일: MainTitle.cs 프로젝트: Herondil/rugby
    public void Start()
    {
        this.gameObject.AddComponent<Timer>();
        inputs = this.gameObject.AddComponent<XboxInputs>();
        inputs.CheckAll();

        state = Status.TITLE;
    }
예제 #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();
    }
예제 #7
0
 public bool GetButtonUp(XBOX_BUTTONS btn)
 {
     return(!XboxInputs.GetButton(btn, pad) && prevState[(int)btn]);
 }
예제 #8
0
 public bool GetButton(XBOX_BUTTONS btn)
 {
     return(XboxInputs.GetButton(btn, pad));
 }
예제 #9
0
 public InputDirection.Direction GetDirection(XBOX_DIRECTION dir)
 {
     return(XboxInputs.GetDirection(dir, pad));
 }