Example #1
0
        public override void RestartSpawn()
        {
            lastPlatformPos    = platformData.PlatformStartSpawnPos.z;
            currentPlatformPos = platformData.PlatformStartSpawnPos;

            for (int i = 0; i < platformPool.GetCount(); i++)
            {
                Spawn();
            }
        }