Exemple #1
0
        private void Start()
        {
            if (owner == null)
            {
                owner = transform;
            }

            BubbleMessage.Create(owner, message, time);
        }
Exemple #2
0
        private void OnBubbleMessageReceived(BubbleNotificationMessage message)
        {
            var id = message.NotifierId;

            if (EntityContainer.GetInstance().GetRemoteEntity(id, out var entity))
            {
                var owner = entity?.GameObject.transform;
                var text  = message.Message;
                var time  = message.Time;

                BubbleMessage.Create(owner, text, time);
            }
        }