Resolving conflicts.
This commit is contained in:
parent
f0f6c6cbe6
commit
6e96537b25
7 changed files with 4 additions and 4 deletions
|
|
@ -1,21 +0,0 @@
|
|||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
public class ShankTimer : MonoBehaviour {
|
||||
|
||||
private float timer;
|
||||
public float length;
|
||||
|
||||
// Use this for initialization
|
||||
void Start () {
|
||||
timer = 0f;
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update () {
|
||||
timer += Time.deltaTime;
|
||||
|
||||
if (timer > length)
|
||||
GameObject.Destroy (gameObject);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue