C# 클래스 BeardedManStudios.Network.Unity.MainThreadManager

상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: drakelinglabs/unityarmada 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
unityFixedUpdate UpdateEvent
unityUpdate UpdateEvent

공개 메소드들

메소드 설명
Create ( ) : void

This will create a main thread manager if one is not already created

Run ( System.Action action ) : void

Add a function to the list of functions to call on the main thread via the Update function

비공개 메소드들

메소드 설명
Awake ( ) : void
FixedUpdate ( ) : void
HandleActions ( ) : void
Update ( ) : void

메소드 상세

Create() 공개 정적인 메소드

This will create a main thread manager if one is not already created
public static Create ( ) : void
리턴 void

Run() 공개 정적인 메소드

Add a function to the list of functions to call on the main thread via the Update function
public static Run ( System.Action action ) : void
action System.Action The method that is to be run on the main thread
리턴 void

프로퍼티 상세

unityFixedUpdate 공개적으로 정적으로 프로퍼티

public static UpdateEvent unityFixedUpdate
리턴 UpdateEvent

unityUpdate 공개적으로 정적으로 프로퍼티

public static UpdateEvent unityUpdate
리턴 UpdateEvent