void OnGrabRetractEnd(PlayerGrabberBase grabber) { //make something happen Transform t = grabber.DetachGrab(); Object.Destroy(t.gameObject); }
void OnGrabRetractEnd(PlayerGrabberBase grabber) { grabber.player.AddScore(score); //make something happen grabber.DetachGrab(); boss.EyeEaten(this); }
void OnGrabRetractEnd(PlayerGrabberBase grabber) { //make something happen grabber.DetachGrab(); if (stateCallback != null) { stateCallback(this, State.Eaten); } }
protected virtual void OnGrabRetractEnd(PlayerGrabberBase grabber) { grabber.DetachGrab(); planetAttach.enabled = true; //get eaten, let player know grabber.player.AddScore(score); Release(); }
void OnGrabRetractEnd(PlayerGrabberBase grabber) { //make something happen grabber.DetachGrab(); Release(); PlayerGrabber pGrabber = grabber as PlayerGrabber; if(pGrabber != null) { pGrabber.Equip(weapon); } }
void OnGrabRetractEnd(PlayerGrabberBase grabber) { //make something happen grabber.DetachGrab(); Release(); PlayerGrabber pGrabber = grabber as PlayerGrabber; if (pGrabber != null) { pGrabber.Equip(weapon); } }
void OnGrabRetractEnd(PlayerGrabberBase grabber) { //make something happen grabber.DetachGrab(); if(stateCallback != null) { stateCallback(this, State.Eaten); } }