I made the victory screen and it is victorious!

This commit is contained in:
Logic Monkey
2018-04-23 12:01:04 -04:00
parent d166265866
commit 82307432c0
24 changed files with 1397 additions and 1 deletions
+22
View File
@@ -0,0 +1,22 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class changeVictoryCandyColor : MonoBehaviour {
public Sprite[] sprites;
public static int spriteIndex;
SpriteRenderer sr;
// Use this for initialization
void Start () {
sr = GetComponent<SpriteRenderer>();
sr.sprite = sprites[spriteIndex];
}
// Update is called once per frame
void Update () {
}
}