public override void OnToolBleederHitAnim(GUIHand guiHand) { if (usingPlayer != null) { Bleeder bleeder = usingPlayer.GetComponentInChildren <BleederAttachTarget>().bleeder; if (bleeder != null) { bleeder.attachAndSuck.SetDetached(); freezeCannon.ReleaseTargetObject(); } } }
void Awake() { bleeder = GetComponentInChildren <Bleeder>(); }