public void Start() { healthHaver.ManualDeathHandling = true; healthHaver.OnPreDeath += OnBossDeath; healthHaver.OverrideKillCamTime = new float?(5); m_GungeoneerMimicBossController = gameObject.GetComponent <ExpandGungeoneerMimicBossController>(); }
public void Start() { m_AIActor = aiActor; m_AIActor.AdditionalSafeItemDrops = new List <PickupObject>() { Mimiclay.MimiclayObject.GetComponent <Mimiclay>() }; m_GungeoneerMimicController = m_AIActor.gameObject.GetComponent <ExpandGungeoneerMimicBossController>(); }
public override void PlayerWalkedIn(PlayerController player, List <tk2dSpriteAnimator> animators) { if (MirrorBase && MirrorBase.GetComponent <tk2dSprite>()) { MirrorBase.GetComponent <tk2dSprite>().HeightOffGround += 2f; MirrorBase.GetComponent <tk2dSprite>().UpdateZDepth(); } m_MirrorDepthUpdated = false; m_MirrorHasShattered = false; m_AIActor = aiActor; if (m_AIActor) { m_GungeoneerMimicController = m_AIActor.gameObject.GetComponent <ExpandGungeoneerMimicBossController>(); m_AIActor.GetAbsoluteParentRoom().CompletelyPreventLeaving = true; m_AIActor.ToggleRenderers(false); m_AIActor.aiShooter.handObject.gameObject.SetActive(false); m_AIActor.IsGone = true; m_AIActor.State = AIActor.ActorState.Inactive; } }