public static object Transform_WiimoteLib_ButtonState_WiimoteLib_Proxy_ButtonState(object transformObj) { WiimoteLib.Proxy.ButtonState target = new WiimoteLib.Proxy.ButtonState(); WiimoteLib.ButtonState from = (WiimoteLib.ButtonState)transformObj; target.A = from.A; target.B = from.B; target.Plus = from.Plus; target.Home = from.Home; target.Minus = from.Minus; target.One = from.One; target.Two = from.Two; target.Up = from.Up; target.Down = from.Down; target.Left = from.Left; target.Right = from.Right; return(target); }
public static object Transform_WiimoteLib_Proxy_ButtonState_TO_WiimoteLib_ButtonState(object transformFrom) { WiimoteLib.ButtonState target = new WiimoteLib.ButtonState(); WiimoteLib.Proxy.ButtonState from = (WiimoteLib.Proxy.ButtonState)transformFrom; target.A = from.A; target.B = from.B; target.Plus = from.Plus; target.Home = from.Home; target.Minus = from.Minus; target.One = from.One; target.Two = from.Two; target.Up = from.Up; target.Down = from.Down; target.Left = from.Left; target.Right = from.Right; return target; }