Пример #1
0
        protected override void OnGUI()
        {
            base.OnGUI();

            string ipAddress = BUtils.GetLocalIPAddress();

            GUI.Box(new Rect(10, Screen.height - 50, 100, 30), ipAddress);
        }
Пример #2
0
        protected override void Awake()
        {
            base.Awake();

            LocalIPAddress = BUtils.GetLocalIPAddress();

            SetBEventDispatcher(MotherOfManagers.Instance.EventDispatcherType);
        }