Пример #1
0
    public void Pick(float perSecond)
    {
        OnPump?.Invoke();
        Roy roy = GetComponent <Roy>();

        if (roy)
        {
            roy.DecreaseFuel(perSecond);
            return;
        }
        Klunk klunk = GetComponent <Klunk>();

        if (klunk)
        {
            klunk.DecreaseFuel(perSecond);
        }
    }
Пример #2
0
        void DisablePublicEvents()
        {
            //cover your eyes, lest ye be blinded

            foreach (var d in OnArousalUpdate.GetInvocationList())
            {
                OnArousalUpdate -= (ArousalHandler)d;
            }
            foreach (var d in OnKissingStart.GetInvocationList())
            {
                OnKissingStart -= (Action)d;
            }
            foreach (var d in OnKissingStop.GetInvocationList())
            {
                OnKissingStop -= (Action)d;
            }
            foreach (var d in OnSuckingStart.GetInvocationList())
            {
                OnSuckingStart -= (Action)d;
            }
            foreach (var d in OnSuckingStop.GetInvocationList())
            {
                OnSuckingStop -= (Action)d;
            }
            foreach (var d in OnOrgasmStart.GetInvocationList())
            {
                OnOrgasmStart -= (Action)d;
            }
            foreach (var d in OnOrgasmStop.GetInvocationList())
            {
                OnOrgasmStop -= (Action)d;
            }
            foreach (var d in OnBreastTouch.GetInvocationList())
            {
                OnBreastTouch -= (Action)d;
            }
            foreach (var d in OnPenetration.GetInvocationList())
            {
                OnPenetration -= (Action)d;
            }
            foreach (var d in OnPump.GetInvocationList())
            {
                OnPump -= (Action)d;
            }
        }