C# Class MultiPlayer.NewGameUnit

Inheritance: NetworkBehaviour
ファイルを表示 Open project: tommai78101/Multiplier Class Usage Examples

Public Properties

Property Type Description
agent UnityEngine.NavMeshAgent
minimapCamera UnityEngine.Camera
selectionRing UnityEngine.GameObject
updateProperties UpdateProperties
viewportPosition UnityEngine.Vector3

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

CallCmdupdateProperty() public method

public CallCmdupdateProperty ( NewChanges changes ) : void
changes NewChanges
return void

CurrentProperty() public method

public CurrentProperty ( ) : NewChanges
return NewChanges

GetTeamColor() public method

public GetTeamColor ( ) : Color
return UnityEngine.Color

NewProperty() public method

public NewProperty ( NewChanges changes ) : void
changes NewChanges
return void

OnGUI() public method

public OnGUI ( ) : void
return void

OnPropertiesChanged() public method

public OnPropertiesChanged ( UnitProperties pro ) : void
pro UnitProperties
return void

SetTeamColor() public method

public SetTeamColor ( Color color ) : Color
color UnityEngine.Color
return UnityEngine.Color

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

agent public_oe property

public NavMeshAgent,UnityEngine agent
return UnityEngine.NavMeshAgent

minimapCamera public_oe property

public Camera,UnityEngine minimapCamera
return UnityEngine.Camera

selectionRing public_oe property

public GameObject,UnityEngine selectionRing
return UnityEngine.GameObject

updateProperties public_oe property

public UpdateProperties updateProperties
return UpdateProperties

viewportPosition public_oe property

public Vector3,UnityEngine viewportPosition
return UnityEngine.Vector3