Exemplo n.º 1
0
    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)
            });
        }
    }
Exemplo n.º 2
0
 // Update is called once per frame
 void Update()
 {
     text.text = PlayerTime.GetTimeString();
 }