Beispiel #1
0
    public void Restart()
    {
        dead     = false;
        lifetime = 2f;
        theList  = PinZiGM.QuestionList();
        spriteNo = theList [Random.Range(0, theList.Count / 2)];
        var renderer = GetComponent <SpriteRenderer> ();

        renderer.sprite = spritePianPang [7 - spriteNo];
    }
Beispiel #2
0
 // Use this for initialization
 void Start()
 {
     theList = PinZiGM.QuestionList();
 }