C# Class MultiPlayer.NewGameUnit

Inheritance: NetworkBehaviour
Afficher le fichier Open project: tommai78101/Multiplier Class Usage Examples

Méthodes publiques

Свойство Type Description
agent UnityEngine.NavMeshAgent
minimapCamera UnityEngine.Camera
selectionRing UnityEngine.GameObject
updateProperties UpdateProperties
viewportPosition UnityEngine.Vector3

Méthodes publiques

Méthode 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

Méthode 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 méthode

public CallCmdupdateProperty ( NewChanges changes ) : void
changes NewChanges
Résultat void

CurrentProperty() public méthode

public CurrentProperty ( ) : NewChanges
Résultat NewChanges

GetTeamColor() public méthode

public GetTeamColor ( ) : Color
Résultat UnityEngine.Color

NewProperty() public méthode

public NewProperty ( NewChanges changes ) : void
changes NewChanges
Résultat void

OnGUI() public méthode

public OnGUI ( ) : void
Résultat void

OnPropertiesChanged() public méthode

public OnPropertiesChanged ( UnitProperties pro ) : void
pro UnitProperties
Résultat void

SetTeamColor() public méthode

public SetTeamColor ( Color color ) : Color
color UnityEngine.Color
Résultat UnityEngine.Color

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

agent public_oe property

public NavMeshAgent,UnityEngine agent
Résultat UnityEngine.NavMeshAgent

minimapCamera public_oe property

public Camera,UnityEngine minimapCamera
Résultat UnityEngine.Camera

selectionRing public_oe property

public GameObject,UnityEngine selectionRing
Résultat UnityEngine.GameObject

updateProperties public_oe property

public UpdateProperties updateProperties
Résultat UpdateProperties

viewportPosition public_oe property

public Vector3,UnityEngine viewportPosition
Résultat UnityEngine.Vector3