コード例 #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;
 }
コード例 #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;
    }
コード例 #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();
    }
コード例 #4
0
 void Awake()
 {
     instance = this;
 }
コード例 #5
0
 private void Awake()
 {
     Instance = this;
 }