Beispiel #1
0
    public void SpawnSuspect()
    {
        //change colors of the sprites?
        //swap the sprites here for new suspect and change story/image in note
        suspect.SetSprites(m_headList[Random.Range(0, m_headList.Count)],
                           m_torsoList[Random.Range(0, m_torsoList.Count)],
                           m_hairList[Random.Range(0, m_hairList.Count)],
                           m_eyebrowsList[Random.Range(0, m_eyebrowsList.Count)],
                           m_eyesList[Random.Range(0, m_eyesList.Count)],
                           m_moustacheList[Random.Range(0, m_moustacheList.Count)],
                           m_mouthList[Random.Range(0, m_mouthList.Count)]);

        suspect.SetSpriteColors(m_skinColorList[Random.Range(0, m_skinColorList.Count)],
                                m_torsoColorList[Random.Range(0, m_torsoColorList.Count)],
                                m_hairColorList[Random.Range(0, m_hairColorList.Count)],
                                m_eyebrowColorList[Random.Range(0, m_eyebrowColorList.Count)],
                                m_eyeColorList[Random.Range(0, m_eyeColorList.Count)],
                                m_moustacheColorList[Random.Range(0, m_moustacheColorList.Count)],
                                m_mouthColorList[Random.Range(0, m_mouthColorList.Count)]);

        suspect.AssignPersonality();
    }