Esempio n. 1
0
 public void Switch(ONOFF onoff)
 {
     if (onoff == ONOFF.OFF)
     {
         image.sprite = OFF;
     }
     else
     {
         image.sprite = ON;
     }
 }
        public void TurnLight(IGingerAction GA, ONOFF oNOFF)
        {
            Console.WriteLine(DateTime.Now + "> TurnLight: " + oNOFF);
            //In

            //Act


            //Out
            GA.AddOutput("Light is ", oNOFF);
        }