2D Ultimate Side Scroller Character Controller
  • Introduction
    • Purpose
    • Overview
  • 🛠️Setup
    • Quick Setup
    • Detailed Setup
  • Content
    • Utilities
      • Custom Attributes
      • Extensions
    • Input System
    • Physics
    • Layers
    • Player Data
      • Physics Variables
      • Walk Variables
      • Crouch Variables
      • Jump Variables
      • Land Variables
      • Dash Variables
      • Wall Movement Variables
  • ⛑️Help
    • FAQ
    • Adding States
    • Removing States
  • Development
    • Features - V1.0
    • Roadmap
  • 📪Contact Me
    • Contact Me
Powered by GitBook
On this page
  1. Content
  2. Utilities

Custom Attributes

PreviousUtilitiesNextExtensions

Last updated 2 years ago

  1. BoundedCurveAttribute.cs: This custom attribute restricts the range of an AnimationCurve to a specific min and max value. This ensures that the curve's output stays within the desired range.

  2. CustomRangeAttribute.cs: This custom attribute allows you to set a custom range for a float or integer variable in the Unity Inspector. This makes it easier to adjust the variable's value within a specified range. You only able to choose numbers written from slider.

  3. InformAttribute.cs: This custom attribute allows you to add an information label to a variable in the Unity Inspector. The label can provide helpful information about the purpose or usage of the variable.

  4. NonEditableAttribute.cs: This custom attribute makes a variable non-editable in the Unity Inspector. This is useful when you want to display a variable's value for reference, but don't want it to be editable.