Esempio n. 1
0
    public void CreateCitizen()
    {
        StartCoroutine(body.AssignBodyType());
        StartCoroutine(body.AssignEyes());
        StartCoroutine(body.AssignHair());

        StartCoroutine(clothes.AssignShirt());
        StartCoroutine(clothes.AssignShoes());
        if (!clothes.suitOn)
        {
            StartCoroutine(clothes.AssignPants());
            StartCoroutine(clothes.AssignJacket());
        }
        else if (clothes.suitOn)
        {
            StartCoroutine(clothes.AssignSuit());
        }
        StartCoroutine(accesories.AssignHat());
        StartCoroutine(accesories.AssignGlasses());
        StartCoroutine(accesories.AssignBodyAccessory());
        StartCoroutine(accesories.AssignFaceAccessory());



        //add the rest of the stats through
        // InitializeCivilianStats(personScript);
    }