The whole process works fine as i need it to but i have those issues with the UI which for now , for the count bar , i have kind of fixed by having it inactive on start and enable it on the play button press but since i do have more elements and i dont want to have to try it out everytime i add something i would like some help in understanding why it doesnt allow the mUI elements to appear! Thank you!
Edit:
basically what it doesnt show is an inverted UI mask that i have.
public class CutoutMaskUI : Image
{
public override Material materialForRendering {
get
{
Material material = new Material(base.materialForRendering);
material.SetInt("_StencilComp", (int)CompareFunction.NotEqual);
return material;
}
}
}
i have a UI element acting as a border around an image set to fill in two separate objects, the count bar and a selection bar acting like a clock going around in a circle , these two items do not render on start and if i disable them / enable them in runtime they suddenly appear.
Basicaly the red fill image doesnt get rendered in the circle and the black outline in the count bar
