This commit is contained in:
EvilFactory
2023-06-15 12:13:50 -03:00
210 changed files with 4491 additions and 2580 deletions

View File

@@ -25,7 +25,7 @@ namespace Steamworks
SteamMatchmakingRulesResponse? responseHandler = null;
void onRulesResponded(string key, string value)
=> rules.Add(key, value);
=> rules.TryAdd(key, value);
void onRulesFailToRespond()
{

View File

@@ -334,6 +334,7 @@ namespace FarseerPhysics.Dynamics
CreateProxies();
// Contacts are created the next time step.
OnEnabled?.Invoke();
}
else
{
@@ -342,6 +343,7 @@ namespace FarseerPhysics.Dynamics
DestroyProxies();
DestroyContacts();
}
OnDisabled?.Invoke();
}
}
}
@@ -1205,6 +1207,8 @@ namespace FarseerPhysics.Dynamics
remove { onSeparationEventHandler -= value; }
}
public Action OnEnabled, OnDisabled;
public float Restitution
{
set { SetRestitution(value); }