private void Start() { if (owner == null) { owner = transform; } BubbleMessage.Create(owner, message, time); }
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); } }