C# 클래스 GameManager, MultiplayerFPS-Tutorial

상속: MonoBehaviour
파일 보기 프로젝트 열기: Brackeys/MultiplayerFPS-Tutorial 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
instance GameManager
matchSettings MatchSettings
onPlayerKilledCallback OnPlayerKilledCallback

공개 메소드들

메소드 설명
GetAllPlayers ( ) : Player[]
GetPlayer ( string _playerID ) : Player
RegisterPlayer ( string _netID, Player _player ) : void
SetSceneCameraActive ( bool isActive ) : void
UnRegisterPlayer ( string _playerID ) : void

비공개 메소드들

메소드 설명
Awake ( ) : void

메소드 상세

GetAllPlayers() 공개 정적인 메소드

public static GetAllPlayers ( ) : Player[]
리턴 Player[]

GetPlayer() 공개 정적인 메소드

public static GetPlayer ( string _playerID ) : Player
_playerID string
리턴 Player

RegisterPlayer() 공개 정적인 메소드

public static RegisterPlayer ( string _netID, Player _player ) : void
_netID string
_player Player
리턴 void

SetSceneCameraActive() 공개 메소드

public SetSceneCameraActive ( bool isActive ) : void
isActive bool
리턴 void

UnRegisterPlayer() 공개 정적인 메소드

public static UnRegisterPlayer ( string _playerID ) : void
_playerID string
리턴 void

프로퍼티 상세

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

public static GameManager instance
리턴 GameManager

matchSettings 공개적으로 프로퍼티

public MatchSettings matchSettings
리턴 MatchSettings

onPlayerKilledCallback 공개적으로 프로퍼티

public OnPlayerKilledCallback onPlayerKilledCallback
리턴 OnPlayerKilledCallback