Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Feedback DecoratorDrawer: sample not working

Discussion in 'Documentation' started by OlivierPons, Jun 20, 2021.


If the documentation doesnt follow the Unity versions, and is not clean / or / buggy

  1. You will search on your own for countless hours because you love Unity

    0 vote(s)
  2. You look for another game engine

    0 vote(s)
  3. You might give up on your project because it's the 4874th time you have such problem

    0 vote(s)
  1. OlivierPons


    Sep 20, 2014

    - Copy/paste the code
    - Clean it (user Rider suggestions, alt-enter 10 times and it's done - the code is absolutely never clean, please use Rider once in your life)

    Try this above one property in a C# file:

    Code (CSharp):
    1. [ColorSpacer(1, 2, 200, .0f, 0f, 0f)]
    - Color is ignored (it's always "white"), try all RGB values you want
    - you cant add many "ColorSpacer" attributes because when you try you get "error CS0579: Duplicate 'ColorSpacer' attribute"

    Such a burning shame you dont update properly your documentation. I've been paying $30 every month for 4 years. When my game is finished I'll give a try to Unreal.