コード例 #1
0
    // Notifies all subscribed switches that a switch was activated
    public void Notify(Weather weather)
    {
        AbilitySwitch?.Invoke(weather);

        _playerAbility.ActivateAbility(weather);
    }