Files
2026-06-04 11:42:34 +02:00

54 lines
1.4 KiB
C#

using System;
using System.Runtime.CompilerServices;
using UnityEngine.Scripting;
namespace UnityEngine
{
// Token: 0x020001A0 RID: 416
public sealed class PhysicsMaterial2D : Object
{
// Token: 0x06001EDE RID: 7902 RVA: 0x00025A50 File Offset: 0x00023C50
public PhysicsMaterial2D()
{
PhysicsMaterial2D.Internal_Create(this, null);
}
// Token: 0x06001EDF RID: 7903 RVA: 0x00025A60 File Offset: 0x00023C60
public PhysicsMaterial2D(string name)
{
PhysicsMaterial2D.Internal_Create(this, name);
}
// Token: 0x06001EE0 RID: 7904
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern void Internal_Create([Writable] PhysicsMaterial2D mat, string name);
// Token: 0x170006EA RID: 1770
// (get) Token: 0x06001EE1 RID: 7905
// (set) Token: 0x06001EE2 RID: 7906
public extern float bounciness
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
// Token: 0x170006EB RID: 1771
// (get) Token: 0x06001EE3 RID: 7907
// (set) Token: 0x06001EE4 RID: 7908
public extern float friction
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
}
}