static void InitColorable() { Colorable.AddColorableType( typeof(ColorableSprite), // THIS class's type typeof(SpriteRenderer) // Type of your target renderer ); }
static void InitColorable() { Colorable.AddColorableType( typeof(ColorableImage), // THIS class's type typeof(Image) // Type of your target renderer ); }
static void InitColorable() { Colorable.AddColorableType( typeof(ColorableSkinnedMeshRenderer), // THIS class's type typeof(SkinnedMeshRenderer) // Type of your target renderer ); }