C# 클래스 Player_ID, goalBall

Sets up a unique identity for the player
상속: NetworkBehaviour
파일 보기 프로젝트 열기: DrexelGoalBall/goalBall 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
prefabName string

공개 메소드들

메소드 설명
OnStartLocalPlayer ( ) : void

When the local player object is set up, get and set its unique identity

비공개 메소드들

메소드 설명
Awake ( ) : void

Initializes variables when script starts

CmdTellServerMyIdentity ( string name ) : void
CmdTellServerMyTeamTag ( string tag ) : void
GetNetIdentity ( ) : void
MakeUniqueIdentity ( ) : string

Determine the unique identity based on its network instance id

SetIdentity ( ) : void

If local player, make unique identity, otherwise set the provided identity

SetTeamTag ( string tag ) : void
Update ( ) : void

Set the identity and tag of this object if it has not been properly set yet

메소드 상세

OnStartLocalPlayer() 공개 메소드

When the local player object is set up, get and set its unique identity
public OnStartLocalPlayer ( ) : void
리턴 void

프로퍼티 상세

prefabName 공개적으로 프로퍼티

public string prefabName
리턴 string