internal static void CreateEntry(Discovery discovery, Frame target) { if (!instance._discoveries.Contains(discovery.id)) { instance.unlock(discovery.id); string targetName = target != null ? target.label : string.Empty; instance._entries.Add(new JournalEntry() { header = PlayerTime.GetTimeString() + ", " + targetName, message = discovery.GetText(targetName) }); } }
// Update is called once per frame void Update() { text.text = PlayerTime.GetTimeString(); }