EscapeTheRoom/Assets/Scripts/Allumettes.cs
2015-11-08 16:00:26 +01:00

23 lines
334 B
C#

using UnityEngine;
using System.Collections;
public class Allumettes : MonoBehaviour {
public float m_Duree=500;
public bool activer;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void FixedUpdate()
{
if (activer)
{
m_Duree--;
print("SA brule, mais moins");
}
}
}