UnityEngine.RangeAttribute.RangeAttribute C# (CSharp) 메소드

RangeAttribute() 공개 메소드

Attribute used to make a float or int variable in a script be restricted to a specific range.

public RangeAttribute ( float min, float max ) : System
min float The minimum allowed value.
max float The maximum allowed value.
리턴 System
        public RangeAttribute(float min, float max)
        {
            this.min = min;
            this.max = max;
        }
    }
RangeAttribute