Свойство | Type | Description | |
---|---|---|---|
entityId | string | ||
healthbarTemplate | GameObject | ||
inactivityTimeout | float | ||
networkFieldsDb | NetworkFieldsDb | ||
shortId | int |
Méthode | Description | |
---|---|---|
Awake ( ) : void | ||
FromGameObject ( Common.GameObject go ) : IGameEntity | ||
GameEntityTypeFromTrackData ( TrackData trackData ) : GameEntityType | ||
GetCharacter ( ) : Common.Character | ||
GetCharacterId ( ) : string | ||
GetControllerType ( ) : ControllerType | ||
GetEntityId ( ) : string | ||
GetGameEntityController ( ) : Common.GameEntityController | ||
GetGameEntityType ( ) : GameEntityType | ||
GetGameObject ( ) : Common.GameObject | ||
GetNetworkFields ( ) : Common.NetworkFields | ||
GetSpawnPoint ( ) : Common.Vector3 | ||
GetTargetPosition ( ) : Common.Vector3 | ||
GetTrackData ( ) : TrackData | ||
GetTransform ( ) : Common.Transform | ||
GetVitals ( ) : Vitals | ||
HasVitals ( ) : bool | ||
Init ( string entityId, Common.Character character, GameEntityType entityType, ControllerType controllerType ) : void | ||
IsActive ( ) : bool | ||
IsDead ( ) : bool | ||
IsGameEntity ( Common.GameObject go ) : bool | ||
IsInCombat ( ) : bool | ||
IsLocalController ( ) : bool | ||
IsNpc ( ) : bool | ||
IsOtherPlayer ( ) : bool | ||
IsPlayer ( ) : bool | ||
MovementDisabled ( ) : bool | ||
Remove ( ) : void | ||
ResetTrackData ( ) : void | ||
SetActive ( bool active, bool setLocation ) : void | ||
SetCharacter ( Common.Character character ) : void | ||
SetHealthbar ( bool active, float scale ) : void | ||
SetShortId ( int shortId ) : void | ||
SetTargetPosition ( Common.Vector3 targetPosition ) : void | ||
SetVitals ( Vitals vitals ) : void | ||
Start ( ) : void | ||
Update ( ) : void | ||
UpdateFromTrackData ( TrackData trackData, bool hasDelta ) : void |
Méthode | Description | |
---|---|---|
AddHealthbar ( ) : void | ||
UpdateHealthbar ( ) : void |
public static FromGameObject ( Common.GameObject go ) : IGameEntity | ||
go | Common.GameObject | |
Résultat | IGameEntity |
public static GameEntityTypeFromTrackData ( TrackData trackData ) : GameEntityType | ||
trackData | TrackData | |
Résultat | GameEntityType |
public GetControllerType ( ) : ControllerType | ||
Résultat | ControllerType |
public GetGameEntityController ( ) : Common.GameEntityController | ||
Résultat | Common.GameEntityController |
public GetGameEntityType ( ) : GameEntityType | ||
Résultat | GameEntityType |
public GetGameObject ( ) : Common.GameObject | ||
Résultat | Common.GameObject |
public GetNetworkFields ( ) : Common.NetworkFields | ||
Résultat | Common.NetworkFields |
public GetTargetPosition ( ) : Common.Vector3 | ||
Résultat | Common.Vector3 |
public Init ( string entityId, Common.Character character, GameEntityType entityType, ControllerType controllerType ) : void | ||
entityId | string | |
character | Common.Character | |
entityType | GameEntityType | |
controllerType | ControllerType | |
Résultat | void |
public static IsGameEntity ( Common.GameObject go ) : bool | ||
go | Common.GameObject | |
Résultat | bool |
public SetActive ( bool active, bool setLocation ) : void | ||
active | bool | |
setLocation | bool | |
Résultat | void |
public SetCharacter ( Common.Character character ) : void | ||
character | Common.Character | |
Résultat | void |
public SetHealthbar ( bool active, float scale ) : void | ||
active | bool | |
scale | float | |
Résultat | void |
public SetTargetPosition ( Common.Vector3 targetPosition ) : void | ||
targetPosition | Common.Vector3 | |
Résultat | void |
public UpdateFromTrackData ( TrackData trackData, bool hasDelta ) : void | ||
trackData | TrackData | |
hasDelta | bool | |
Résultat | void |