public void AddLine(string text) { if (_notificationCanvas == null) { _notificationCanvas = Instantiate(NotificationSettings.Current.CanvasPrefab, transform); } _notificationCanvas.AddLine(text); }