Exemplo n.º 1
0
 public void ListInit(RemoteMain main, UIActor actor, BthCommunicator bth, AARController aar)
 {
     _BtnList = new List <DeviceListButton>();
     _Actor   = actor;
     _BTH     = bth;
     _AAR     = aar;
     _Main    = main;
 }
Exemplo n.º 2
0
    public void CommunicatorInit(RemoteMain main, AARController aar, UIActor actor,
                                 MsgController control, Fav fav)
    {
        _AAR   = aar;
        _Msg   = control;
        _Main  = main;
        _Actor = actor;
        _Fav   = fav;

        _MsgSaver = new List <byte[]>();
        _State    = COMMUICATOR_STATE.CS_DISCONNECT;
    }
Exemplo n.º 3
0
    void Start()
    {
        _AAR   = AARController.Instance;
        _Msg   = MsgController.instance;
        _Bth   = BthCommunicator.instance;
        _UI    = UIActor.instance;
        _List  = DeviceListScene.instance;
        _Main  = MainBGScene.instance;
        _Fav   = Fav.instance;
        _Alert = AlertManager.instance;

        Screen.SetResolution(800, 1280, true);
        Screen.orientation = ScreenOrientation.Portrait;

        MainInit();
    }
Exemplo n.º 4
0
 void Awake()
 {
     instance = this;
 }
Exemplo n.º 5
0
 private void Awake()
 {
     Instance = this;
 }