void OnHoverBtn(ClickObj obj)
 {
     if (obj == null)
     {
         return;
     }
     OnHoverNothing();
 }
 private bool TryHitBtnObj(out ClickObj obj)
 {
     if (Physics.Raycast(ray, out hit, distence, LayerMask.GetMask(Layers.clickItemLayer)))
     {
         obj = hit.collider.GetComponentInParent <ClickObj>();
         return(true);
     }
     obj = null;
     return(false);
 }
 void OnBtnClicked(ClickObj obj)
 {
     if (!obj.Started)
     {
         SetUserErr("不可点击" + obj.Name);
     }
     else if (obj.Complete)
     {
         SetUserErr("已经结束点击" + obj.Name);
     }
     if (obj.Started && !obj.Complete)
     {
         obj.OnEndExecute(false);
     }
 }