public void Initialize (BugReporterApp app, Bug bug) { _app = app; _bug = bug; errorImage.sprite = bug.errorSprite; warningImage.sprite = bug.warningSprite; }
public BugNotification (Bug bug) : base (bug.GetName ()) { text = new List<Sprite> { bug.errorSprite, bug.warningSprite }; this.bug = bug; }