﻿namespace UnityEngine
{
    using System;
    using System.Runtime.CompilerServices;

    public sealed class PlatformEffector2D : Effector2D
    {
        [Obsolete("PlatformEffector2D.oneWay has been deprecated. Use PlatformEffector2D.useOneWay instead (UnityUpgradable) -> useOneWay", true)]
        public bool oneWay
        {
            get
            {
                return this.useOneWay;
            }
            set
            {
                this.useOneWay = value;
            }
        }

        [Obsolete("PlatformEffector2D.sideAngleVariance has been deprecated. Platform sides are now calculated automatically.", true)]
        public float sideAngleVariance { [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall] get; [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall] set; }

        [Obsolete("PlatformEffector2D.sideBounce has been deprecated. Use PlatformEffector2D.useSideBounce instead (UnityUpgradable) -> useSideBounce", true)]
        public bool sideBounce
        {
            get
            {
                return this.useSideBounce;
            }
            set
            {
                this.useSideBounce = value;
            }
        }

        [Obsolete("PlatformEffector2D.sideFriction has been deprecated. Use PlatformEffector2D.useSideFriction instead (UnityUpgradable) -> useSideFriction", true)]
        public bool sideFriction
        {
            get
            {
                return this.useSideFriction;
            }
            set
            {
                this.useSideFriction = value;
            }
        }

        public float surfaceArc { [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall] get; [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall] set; }

        public bool useOneWay { [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall] get; [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall] set; }

        public bool useSideBounce { [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall] get; [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall] set; }

        public bool useSideFriction { [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall] get; [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall] set; }
    }
}

