Exemple #1
0
 //Sends passive reply if enough time has passed
 public override void SendPassiveLine()
 {
     if (Progress() >= ProgressMilestone)
     {
         Text text = PlayerComment.GetComponent <Text>();
         text.text          = Hakeri.ReturnLine(Random.Range(0, 32));
         ProgressMilestone += 10;
     }
 }
 public void AddToPlayerComment(PlayerComment playerComment)
 {
     base.AddObject("PlayerComment", playerComment);
 }
 public static PlayerComment CreatePlayerComment(int id)
 {
     PlayerComment playerComment = new PlayerComment();
     playerComment.ID = id;
     return playerComment;
 }