Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
zeezaa committed Oct 20, 2018
0 parents commit 7b4f88d
Show file tree
Hide file tree
Showing 3,332 changed files with 106,559 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto
Binary file added .vs/SABG/v15/.suo
Binary file not shown.
Empty file.
Binary file added .vs/SABG/v15/Server/sqlite3/storage.ide
Binary file not shown.
28 changes: 28 additions & 0 deletions Assets/FireAnim.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class FireAnim : MonoBehaviour {

public Sprite[] fire;
int pos = 0;

// Use this for initialization
void Start () {
InvokeRepeating("Change", 0.15f, 0.15f);
}

// Update is called once per frame
void Update () {

}

void Change()
{
pos++;
if(pos > 2)
pos = 0;
GetComponent<Image>().sprite = fire[pos];
}
}
11 changes: 11 additions & 0 deletions Assets/FireAnim.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Assets/Scenes.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7b4f88d

Please sign in to comment.