mirror of
https://github.com/ConjureETS/EscapeTheRoom.git
synced 2026-03-24 09:10:57 +00:00
23 lines
334 B
C#
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");
|
|
}
|
|
}
|
|
}
|