public override void OnToolBleederHitAnim(GUIHand guiHand)
        {
            if (usingPlayer != null)
            {
                Bleeder bleeder = usingPlayer.GetComponentInChildren <BleederAttachTarget>().bleeder;

                if (bleeder != null)
                {
                    bleeder.attachAndSuck.SetDetached();
                    freezeCannon.ReleaseTargetObject();
                }
            }
        }
Beispiel #2
0
 void Awake()
 {
     bleeder = GetComponentInChildren <Bleeder>();
 }