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(); }
void Awake() { instance = this; }
private void Awake() { Instance = this; }