Guest User

Untitled

a guest
Dec 13th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. if (enlargeableButtons[i][j].gameObject.activeSelf && enlargeableButtons[i][j].IsHighlighted())
  2. {
  3. enlargeableButtons[i][j].gameObject.SetIsHighlighted(true, HoverEffect.EnlargeImage);
  4. }
  5.  
  6. GameObject temp = enlargeableButtons[i][j].gameObject;
  7.  
  8. if (temp.activeSelf && temp.IsHighlighted())
  9. {
  10. temp.SetIsHighlighted(true, HoverEffect.EnlargeImage);
  11. }
Add Comment
Please, Sign In to add comment