Esempio n. 1
0
    public void Spawn()
    {
        if (!m_available)
        {
            return;
        }

        if (m_objectToSpawn == null)
        {
            return;
        }

        if (m_action.ToLower() == "light")
        {
            m_objectToSpawn.GetComponent <InitiateWorld>().BigBang();
        }
        else
        {
            SpawnSystem.Strössla(m_objectToSpawn);
        }
    }