Class WeaverBossSceneController
Used for boss scenes in WeaverCore
Inheritance
Object
Component
Behaviour
MonoBehaviour
WeaverBossSceneController
Inherited Members
Namespace: WeaverCore.Assets.Components
Assembly: WeaverCore.dll
Syntax
public class WeaverBossSceneController : BossSceneController
Methods
| Edit this page View SourceAddBoss(Component)
Adds a boss/enemy to keep track of. When all bosses are killed, the scene will end
Declaration
public static void AddBoss(Component component)
Parameters
Type | Name | Description |
---|---|---|
Component | component |
AddBoss(GameObject)
Adds a boss/enemy to keep track of. When all bosses are killed, the scene will end
Declaration
public static void AddBoss(GameObject bossObject)
Parameters
Type | Name | Description |
---|---|---|
GameObject | bossObject |
AddBoss(EntityHealth)
Adds a boss/enemy to keep track of. When all bosses are killed, the scene will end
Declaration
public static void AddBoss(EntityHealth bossHealth)
Parameters
Type | Name | Description |
---|---|---|
EntityHealth | bossHealth | The health component of the boss/enemy |
ReportHealth(EntityHealth, int, int, bool)
Declaration
public static void ReportHealth(EntityHealth entityHealth, int baseHP, int adjustedHP, bool forceAdd = false)
Parameters
Type | Name | Description |
---|---|---|
EntityHealth | entityHealth | |
int | baseHP | |
int | adjustedHP | |
bool | forceAdd |