private void Action()
        {
            if (_world == null)
            {
                return;
            }

            ShowScreenTag tag = _world.NewEntity().Set <ShowScreenTag>();

            tag.ID    = _targetID;
            tag.Layer = _targetLayer;
        }
Example #2
0
        public void Run()
        {
            if (_trigger.IsEmpty())
            {
                return;
            }

            foreach (var i in _view)
            {
                foreach (var j in _trigger)
                {
                    _view.Get1[i].Text.text = _trigger.Get1[j].Message;
                    _trigger.Entities[i].Unset <ShowInfoPopUpTag>();
                }
            }

            ShowScreenTag tag = _world.NewEntity().Set <ShowScreenTag>();

            tag.ID    = 0;
            tag.Layer = 2;
        }