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 }
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 }