ButtonNinePressed() 공개 메소드

public ButtonNinePressed ( ) : void
리턴 void
        void OnEnable()
        {
            RemoteButton tv = new TVRemoteMute(new TVDevice(1,200));
            RemoteButton tv2 = new TVRemotePause(new TVDevice(1,200));
            //RemoteButton dvd = new DVDRemove(new DVDDevice(1,14));

            Debug.Log ("Test TV with Mute");
            tv.ButtonFivePressed();
            tv.ButtonSixPressed();
            tv.ButtonNinePressed(); // < this one differs on each tv

            Debug.Log ("Test TV with Pause");
            tv2.ButtonFivePressed();
            tv2.ButtonSixPressed();
            tv2.ButtonNinePressed(); // < this one differs on each tv
        }
예제 #2
0
        void OnEnable()
        {
            RemoteButton tv  = new TVRemoteMute(new TVDevice(1, 200));
            RemoteButton tv2 = new TVRemotePause(new TVDevice(1, 200));

            //RemoteButton dvd = new DVDRemove(new DVDDevice(1,14));

            Debug.Log("Test TV with Mute");
            tv.ButtonFivePressed();
            tv.ButtonSixPressed();
            tv.ButtonNinePressed();             // < this one differs on each tv

            Debug.Log("Test TV with Pause");
            tv2.ButtonFivePressed();
            tv2.ButtonSixPressed();
            tv2.ButtonNinePressed();             // < this one differs on each tv
        }