C# 클래스 QFramework.QTimer

函数延时,计时器等方法,但是受到timeScale影响
파일 보기 프로젝트 열기: liangxiegame/QFramework

공개 메소드들

메소드 설명
CallWithDelay ( QTimerCallfunc del, float delay ) : IEnumerator
CallWithDelay ( QTimerCallfuncInt del, int num, float delay ) : IEnumerator
ChangeEnabledState ( GameObject go, bool state, float time ) : IEnumerator
ExecuteAfterSeconds ( float seconds, QTimerCallfunc callfunc ) : void

延时调用函数

비공개 메소드들

메소드 설명
Execute ( float seconds, QTimerCallfunc callfunc ) : IEnumerator

메소드 상세

CallWithDelay() 공개 정적인 메소드

public static CallWithDelay ( QTimerCallfunc del, float delay ) : IEnumerator
del QTimerCallfunc
delay float
리턴 IEnumerator

CallWithDelay() 공개 정적인 메소드

public static CallWithDelay ( QTimerCallfuncInt del, int num, float delay ) : IEnumerator
del QTimerCallfuncInt
num int
delay float
리턴 IEnumerator

ChangeEnabledState() 공개 정적인 메소드

public static ChangeEnabledState ( GameObject go, bool state, float time ) : IEnumerator
go UnityEngine.GameObject
state bool
time float
리턴 IEnumerator

ExecuteAfterSeconds() 공개 정적인 메소드

延时调用函数
public static ExecuteAfterSeconds ( float seconds, QTimerCallfunc callfunc ) : void
seconds float Seconds.
callfunc QTimerCallfunc Callfunc.
리턴 void