public void ListInit(RemoteMain main, UIActor actor, BthCommunicator bth, AARController aar) { _BtnList = new List <DeviceListButton>(); _Actor = actor; _BTH = bth; _AAR = aar; _Main = main; }
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; }
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(); }
public void MainBGSceneInit(AARController aar, MsgController msg, DeviceListScene list, BthCommunicator bth) { _ClickBlock.SetActive(false); _AAR = aar; _Msg = msg; _List = list; _BTH = bth; _DisplayGroupObject.SetActive(false); _LoadingObject.SetActive(false); int iNum = _DojaGroup.childCount; Transform obj; for (int i = 0; i < iNum; ++i) { obj = _DojaGroup.GetChild(i); _DojaTexts.Add(obj.Find("LvText").GetComponent <Text>()); _DojaTitles.Add(obj.Find("DojaName").GetComponent <Text>()); } }