예제 #1
0
 void Start()
 {
     // Just to show we are "alive" and running
     QuickLabel.Create(gameObject,
                       "Time: ", () =>
     {
         return(Time.time.ToString("0.0"));
     });
 }
예제 #2
0
    void Start()
    {
// attach a QuickLabel telling how often we spawn
#if false
        QuickLabel.Create(gameObject,
                          "TimedSpawner:" + name + ":",
                          () => {
            return(spawnYet.ToString("0.0") + "s");
        });
#endif
    }