public void Update(NumberGenerator generator) { StringBuilder sb = new StringBuilder(); for (int i = 0; i < generator.getNumber(); i++) { sb.Append("*"); } UnityEngine.Debug.Log("GraphObserver:" + sb); }
public void update(NumberGenerator generator) { Console.WriteLine("GraphObserver:"); int count = generator.getNumber(); for (int i = 0; i < count; i++) { Console.Write("*"); } Console.WriteLine(); Thread.Sleep(100); }
public void Update(NumberGenerator generator) { this.numText.text = generator.getNumber().ToString(); }
public void update(NumberGenerator generator) { Console.WriteLine("DigitObserver:" + generator.getNumber()); Thread.Sleep(100); }