예제 #1
0
    private void Start()
    {
        Needy.Assign(onNeedyActivation : OnNeedyActivation,
                     onNeedyDeactivation : OnNeedyDeactivation,
                     onTimerExpired : () => delegate()
        {
            Needy.HandleStrike();
            OnNeedyDeactivation().Invoke();
        },
                     moduleScript: this);

        Buttons.Assign(onInteract: HandleButtons);
    }