示例#1
0
 public void Show()
 {
     if (transition != DemoTransition.Showing)
     {
         transition = DemoTransition.Showing;
         startTime = Time.time;
     }
 }
示例#2
0
 public void Hide()
 {
     if (transition != DemoTransition.Hiding)
     {
         transition = DemoTransition.Hiding;
         startTime = Time.time;
     }
 }