Author Topic: back to first state in Toggle group  (Read 5400 times)

joonyboy

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
back to first state in Toggle group
« on: April 11, 2017, 02:51:20 AM »
When quit toggle group. I want to reset toggle group to the first.

ex. A, B, C Panel with Toggle group

A starting state is true

I Clicked B Panel.

When quit and access again, I want to activate A Panel which starting state is true.

I searched last posts, but hard to find solution

I really hope anyone could help me...

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: back to first state in Toggle group
« Reply #1 on: April 14, 2017, 03:54:41 PM »
Just have a script that sets that toggle's state to 'true' in OnEnable.