Author Topic: How do I make a transparent 'loading' overlay when load data  (Read 1500 times)

hanyu279

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 5
    • View Profile
How do I make a transparent 'loading' overlay when load data
« on: October 14, 2014, 03:58:52 AM »
How do I make a transparent 'loading' overlay that covers all over screen so that user can't tap on other controls?

r.pedra

  • Full Member
  • ***
  • Thank You
  • -Given: 7
  • -Receive: 20
  • Posts: 131
    • View Profile
Re: How do I make a transparent 'loading' overlay when load data
« Reply #1 on: October 14, 2014, 04:32:20 AM »
To disable controls you can disable UICamera

PoN

  • Full Member
  • ***
  • Thank You
  • -Given: 1
  • -Receive: 4
  • Posts: 111
    • View Profile
Re: How do I make a transparent 'loading' overlay when load data
« Reply #2 on: October 14, 2014, 09:21:04 PM »
Create Panel object with Sprite(sliced) inside of panel. Attach BoxCollider on the Sprite. And adjust depth of panel to be on the top of all, also you could set an anchor of Sprite to stretch the sprite and adjust alpha of the sprite. Good luck.
Worked on Doc&DogAge Of Fury 3D. Actually working on WarMach.