C# 클래스 MultiPlayer.NewGameUnit

상속: NetworkBehaviour
파일 보기 프로젝트 열기: tommai78101/Multiplier 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
agent UnityEngine.NavMeshAgent
minimapCamera UnityEngine.Camera
selectionRing UnityEngine.GameObject
updateProperties UpdateProperties
viewportPosition UnityEngine.Vector3

공개 메소드들

메소드 설명
CallCmdupdateProperty ( NewChanges changes ) : void
CurrentProperty ( ) : NewChanges
GetTeamColor ( ) : Color
NewProperty ( NewChanges changes ) : void
OnGUI ( ) : void
OnPropertiesChanged ( UnitProperties pro ) : void
SetTeamColor ( Color color ) : Color
Start ( ) : void
Update ( ) : void

비공개 메소드들

메소드 설명
CmdAttack ( bool hasAuthority, GameObject attacker, GameObject victim, int damage ) : void
CmdDestroy ( GameObject targetUnit ) : void
CmdRecover ( GameObject recoveringObject, int healValue ) : void
CmdSetDestination ( GameObject obj, Vector3 pos ) : void
CmdTakeDamageColor ( ) : void
CmdUpdateProperty ( GameObject obj, NewChanges changes ) : void
HandleAttacking ( ) : void
HandleMovement ( ) : void
HandleNonAuthorityStatus ( ) : void
HandleRecovering ( ) : void
HandleSelectionRing ( ) : void
HandleStatus ( ) : bool
LogKill ( ) : void
RpcSetDestination ( GameObject obj, Vector3 pos ) : void
RpcTakeDamageColor ( NetworkInstanceId victimNetID ) : void

메소드 상세

CallCmdupdateProperty() 공개 메소드

public CallCmdupdateProperty ( NewChanges changes ) : void
changes NewChanges
리턴 void

CurrentProperty() 공개 메소드

public CurrentProperty ( ) : NewChanges
리턴 NewChanges

GetTeamColor() 공개 메소드

public GetTeamColor ( ) : Color
리턴 UnityEngine.Color

NewProperty() 공개 메소드

public NewProperty ( NewChanges changes ) : void
changes NewChanges
리턴 void

OnGUI() 공개 메소드

public OnGUI ( ) : void
리턴 void

OnPropertiesChanged() 공개 메소드

public OnPropertiesChanged ( UnitProperties pro ) : void
pro UnitProperties
리턴 void

SetTeamColor() 공개 메소드

public SetTeamColor ( Color color ) : Color
color UnityEngine.Color
리턴 UnityEngine.Color

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

agent 공개적으로 프로퍼티

public NavMeshAgent,UnityEngine agent
리턴 UnityEngine.NavMeshAgent

minimapCamera 공개적으로 프로퍼티

public Camera,UnityEngine minimapCamera
리턴 UnityEngine.Camera

selectionRing 공개적으로 프로퍼티

public GameObject,UnityEngine selectionRing
리턴 UnityEngine.GameObject

updateProperties 공개적으로 프로퍼티

public UpdateProperties updateProperties
리턴 UpdateProperties

viewportPosition 공개적으로 프로퍼티

public Vector3,UnityEngine viewportPosition
리턴 UnityEngine.Vector3