示例#1
0
 private void UpdateOutline()
 {
     if (IsHovered || _isSelected)
     {
         _outline.Enable();
     }
     else
     {
         _outline.Disable();
     }
 }
示例#2
0
 public void RemoveTargetGlow()
 {
     highlightedTargetOutline.Disable();
 }
示例#3
0
 // Use this for initialization
 private void Start()
 {
     _outline = GetComponent <Outline>();
     _outline.Disable();
 }