Example #1
0
 /*--------------------------------------------------------------------------------------------*/
 private HoverRendererIdle FindOrBuildIdle()
 {
     return(RendererUtil.FindOrBuildRenderer <HoverRendererIdle>(gameObject.transform,
                                                                 IdleRendererPrefab, "Idle", typeof(HoverRendererIdle)));
 }
 /*--------------------------------------------------------------------------------------------*/
 private HoverRendererSlider FindOrBuildSlider()
 {
     return(RendererUtil.FindOrBuildRenderer <HoverRendererSlider>(gameObject.transform,
                                                                   SliderRendererPrefab, "Slider", typeof(HoverRendererSlider)));
 }
Example #3
0
 /*--------------------------------------------------------------------------------------------*/
 private HoverRendererCursor FindOrBuildCursor()
 {
     return(RendererUtil.FindOrBuildRenderer <HoverRendererCursor>(gameObject.transform,
                                                                   CursorRendererPrefab, "Cursor", typeof(HoverRendererCursor)));
 }
 /*--------------------------------------------------------------------------------------------*/
 private HoverRendererButton FindOrBuildButton()
 {
     return(RendererUtil.FindOrBuildRenderer <HoverRendererButton>(gameObject.transform,
                                                                   ButtonRendererPrefab, "Button", typeof(HoverRendererButton)));
 }