![]() |
SpaceRTS - Starter Pack
1.3
|
Public Member Functions | |
| override void | OnVisualModuleSetted () |
| Called when the Visual Module is setted. Here we need to initialize all the component related functionality. More... | |
| override void | OnVisualModuleRemoved () |
| Called when the Visual Module is removed. Here we need to uninitialize all the component related functionality. More... | |
| bool | IsAlive () |
| void | ShowTargetedMarker (bool show) |
| void | ShowTargetedConfirmMarker () |
| void | ShowValidTargetMarker () |
| void | OnDamageReceived (DamageType damage) |
| virtual void | ApplyFixedDamage (float fixedAmmount) |
| virtual void | ApplyFixedHeal (float fixedHeal) |
| virtual void | ApplyFactorDamage (float damageFactor) |
| virtual void | ApplyFactorHeal (float healFactor) |
| virtual void | Explode () |
Public Attributes | |
| ProxyRef | volume = new ProxyRef(typeof(SphereCollider), "volume") |
| ProxyRef | explodeAnimator = new ProxyRef(typeof(Animator), "animator") |
| ProxyRef | targetableAnimator = new ProxyRef(typeof(Animator), "targetable_anim") |
| string | explodeAnimParam = "Explode" |
| string | targetedAnimParam = "Targeted" |
| string | targetConfirmAnimParam = "TargetedConfirm" |
| float | damageResistance = 100.0f |
| bool | removeOnExplode = true |
| float | removeDelay = 4.0f |
| Action | UnitDestroyed |
Properties | |
| float | MaxHP [get] |
| float | HP [get] |
| float | HealthFactor [get] |
| Vector3 | Position [get] |
Properties inherited from GameBase.GameEntityComponent | |
| GameEntity | ThisEntity [get] |
| The GameEntity attached to this component. More... | |
| MessageSink | Messages [get] |
| Shortcut for the Message sink located at the GameEntity attached to this component. More... | |
| ComponentProxy | VisualProxy [get] |
| Shortcut for the ComponentProxy located at the GameEntity attached to this component. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from GameBase.GameEntityComponent | |
| virtual void | SetupEntityComponent () |
| virtual class to be implemented. This will be called on the Awake to do a proper initialization of the component ensuring that the GameEntity thisEntity it's already defined at this point. Version 1.1: This will no longer be used in the future. Use instead OnVisualModuleSetted and OnVisualModuleRemoved. More... | |
| virtual void | OnValidate () |
| Called by unity when the script is reloaded. Here we setup the component and check that all is setted correctly. More... | |
| T | GetSceneSystem< T > () |
| Shortcut for access a SceneSystem registered in the GameScene. More... | |
| T | GetVisualProxyProperty< T > (string name) |
| Shortcut for access the property located at the GameEntity visual module. More... | |
| void | LogsClear () |
| Clears all log messages More... | |
| void | Log (string message) |
| Stores the message as a log that can be used later to show a warning in the editor or console. More... | |
| void | PushLogs () |
| Push all the stored logs to the console. More... | |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
| bool NullPointerGame.DamageSystem.Damageable.IsAlive | ( | ) |
| void NullPointerGame.DamageSystem.Damageable.OnDamageReceived | ( | DamageType | damage | ) |
|
virtual |
Called when the Visual Module is removed. Here we need to uninitialize all the component related functionality.
Reimplemented from GameBase.GameEntityComponent.
|
virtual |
Called when the Visual Module is setted. Here we need to initialize all the component related functionality.
Reimplemented from GameBase.GameEntityComponent.
| void NullPointerGame.DamageSystem.Damageable.ShowTargetedConfirmMarker | ( | ) |
| void NullPointerGame.DamageSystem.Damageable.ShowTargetedMarker | ( | bool | show | ) |
| void NullPointerGame.DamageSystem.Damageable.ShowValidTargetMarker | ( | ) |
| float NullPointerGame.DamageSystem.Damageable.damageResistance = 100.0f |
| ProxyRef NullPointerGame.DamageSystem.Damageable.explodeAnimator = new ProxyRef(typeof(Animator), "animator") |
| string NullPointerGame.DamageSystem.Damageable.explodeAnimParam = "Explode" |
| float NullPointerGame.DamageSystem.Damageable.removeDelay = 4.0f |
| bool NullPointerGame.DamageSystem.Damageable.removeOnExplode = true |
| ProxyRef NullPointerGame.DamageSystem.Damageable.targetableAnimator = new ProxyRef(typeof(Animator), "targetable_anim") |
| string NullPointerGame.DamageSystem.Damageable.targetConfirmAnimParam = "TargetedConfirm" |
| string NullPointerGame.DamageSystem.Damageable.targetedAnimParam = "Targeted" |
| Action NullPointerGame.DamageSystem.Damageable.UnitDestroyed |
| ProxyRef NullPointerGame.DamageSystem.Damageable.volume = new ProxyRef(typeof(SphereCollider), "volume") |
|
get |
|
get |
|
get |
|
get |