IEnumerator ExecuteAfterTime(float time, string publicationKey, string author, string message, string other)
    {
        yield return(new WaitForSeconds(time));

        if (jsonObj)
        {
            if (other == "empty")
            {
                RemoveSequence(publicationKey);
            }
            else if (other != "")
            {
                GenerateAndSetSequence(other, publicationKey);
            }
        }

        computer.AddPublicationComment(publicationKey, author, message);
    }
Example #2
0
 public void Comment()
 {
     computer.AddPublicationComment(key, author, text);
 }