MUKCustomObject is a template object, you can put anything in it.
You will see two child objects in MUKCustomObject – ios_object & material_object. And inside these objects, you will see an image. You can delete this image and put anything you want to display.
ios_object will get active when the platform type is set to iOS, and material_object will get active when the platform type is set to Material.
If you want to put Muk components in the MUKCustomObject. It is recommended that we overrider the platform type for the Muk Component accordingly. For example, set the platform type to iOS for Muk Components that are in ios_object, and set the platform type to Material for Muk Components that are in material_object. So when you override the platform type of the MUKCustomObject, it will display the correct Muk Components.
Create Muk Custom Object #
To create MUKCustomObject, create and select MukUICanvas, right-click in the Hierarchy > Muk > Circular Indicator. You will see a new object(MUKCustomObject) created in the selected canvas or the first canvas in the Hierarchy (if no canvas is selected). If there’s no canvas in the Hierarchy, Muk will create a MukUICanvas for you and place the MUKCustomObject in the newly created MukUICanvas.
Muk Custom Object - Properties #
Property | Desciption | Value |
---|---|---|
Platform Type | Which UI Platform should Muk Components display. | Device - Base on device. iOS UI for iOS device, Material design for others. iOS - iOS design. Material - Material design. |
Dark Mode | Use Dark mode or light mode. You can set color for each mode in theme settings. | Dark - Dark Mode. Light - Light Mode. |