Hello Guest

Author Topic: Deptmask with gameObject texture and content position  (Read 4073 times)

quangtu89

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 18
    • View Profile
Deptmask with gameObject texture and content position
« on: August 12, 2013, 03:47:47 am »
I have problem with my scrollable area , when i change the position of content to move up and scale height in run time, the content position cannot change so everything has move up cannot seen .Another problem is i can use mask to hide the texture of normal gameobject .Can you help me . Thanks in advance  :)

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Deptmask with gameObject texture and content position
« Reply #1 on: August 12, 2013, 12:04:26 pm »
Hi,
I'm not sure what the issue is - can you please post some pictures to show the problem?

With the scrollable area you can't move the origin of the content object. It must be at 0, 0, 0. If you want to offset data, you should offset the data under the content object instead, and keep the origin at 0,0,0

quangtu89

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Deptmask with gameObject texture and content position
« Reply #2 on: August 15, 2013, 03:07:12 am »
This is my problem with mask and texture of gameobject

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Deptmask with gameObject texture and content position
« Reply #3 on: August 15, 2013, 01:54:41 pm »
The mask clips things INSIDE it.
Select the mask object, and make sure the blue box contains the sprites you want to mask.

quangtu89

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Deptmask with gameObject texture and content position
« Reply #4 on: August 16, 2013, 02:29:46 am »
Thanks for support . Good job