FTME01_DeadTime.cs 232 B

123456789101112131415161718
  1. using UnityEngine;
  2. using System.Collections;
  3. public class FTME01_DeadTime : MonoBehaviour {
  4. public float deadtime;
  5. void Awake (){
  6. if (deadtime != 0) {
  7. Destroy (gameObject, deadtime);
  8. }
  9. }
  10. void Update () {
  11. }
  12. }