Beispiel #1
0
    public void Generate()
    {
        string name     = _storage.GetRandomName();
        string surname  = _storage.GetRandomSurname();
        string birthday = _storage.GetRandomBirthday();
        Sprite photo;
        Sprite skin = _storage.GetRandomSkin(out photo);

        _dude.Init(name, surname, birthday, skin, photo);

        _procurorText.text = _storage.GetRandomCase();
    }