show property in inspector

hi guys !! i really need your help now !!
i just take a example in canvas

  • When i set UI scale mode: Constant Pixel Size
  • It doesnt show any properties below it

74818-1.jpg

  • But when i set: Scale with screen size

  • It showed sub properties

74820-2.jpg

=> pls anyone can gimme a solution about this! i dont know how unity can do that !!

Hello @Andrew-Le , the things you want to do is possible by editor Scripting . These two links resolve your requirements.

  1. Unity - Manual: Property Drawers

  2. Unity - Manual: Custom Editors