예제 #1
0
 public void Update(IAtlas atlas)
 {
     if (m_isActive)
     {
         Switchable?.SwitchOn(null, atlas);
         m_isActive      = false;
         m_wasActive     = true;
         NextUpdateAfter = DELAY;
         return;
     }
     Switchable?.SwitchOff(null, atlas);
     NextUpdateAfter = 0;
     m_wasActive     = false;
 }