Exemplo n.º 1
0
    void Start()
    {
        InvokeRepeating("SpawnRule", 0f, ruleSpawnTime);     //starts the rule spawning as soon as the scene starts

        pauser.PauseStart();                                 //starts time in game world

        InvokeRepeating("SpawnSprite", 0f, spriteSpawnTime); //starts the sprite spawning as soon as the scene starts (but the paused time will not have gravity affect them yet)
    }