Skip to content

Instantly share code, notes, and snippets.

@teitei-tk
Created May 20, 2014 03:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save teitei-tk/f898fc90ae9216732fb5 to your computer and use it in GitHub Desktop.
Save teitei-tk/f898fc90ae9216732fb5 to your computer and use it in GitHub Desktop.
1秒間隔で処理を実行する
using UnityEngine;
using System;
public class InvokeCotroller : MonoBehaviour
{
public void Start()
{
this.InvokeRepeating("Hoge", 0f, 1.0f);
}
public void Hoge()
{
Debug.Log(DateTime.Now.ToString()):
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment