Serialize m_Maskable so it could be set from the inspector.

#48 Open
Repository
liortal
Branch
maskablegraphic_serializable
Repository
Unity-Technologies
Branch
5.4

Bitbucket cannot automatically merge this request.

The commits that make up this pull request have been removed.

Bitbucket cannot automatically merge this request due to conflicts.

Review the conflicts on the Overview tab. You can then either decline the request or merge it manually on your local system using the following commands:

hg update f0b47d481837
hg pull -r maskablegraphic_serializable https://bitbucket.org/liortal/ui
# Note: This will create a new head!
hg merge maskablegraphic_serializable
hg commit -m 'Merged in liortal/ui/maskablegraphic_serializable (pull request #48)'
Author
  1. Lior Tal
Reviewers
Description

This should allow the developer to select if he wants to support masking or not. If under most scenarios there's no need for masking, this should allow slightly better performance, since UpdateClipParent or similar methods should choose a fast path out instead of calculating clipping.

See the discussion on the forum for more info: http://forum.unity3d.com/threads/maskablegraphic-is-maskable-by-default.429963/

Comments (2)