示例#1
0
 public override void ManuallySetTime(float sequencerTime)
 {
     foreach (Transform transform in base.transform)
     {
         USEventBase component = transform.GetComponent <USEventBase>();
         if (component)
         {
             float deltaTime = sequencerTime - component.FireTime;
             if (component.AffectedObject)
             {
                 component.ManuallySetTime(deltaTime);
             }
         }
     }
 }
示例#2
0
        public override void ManuallySetTime(float sequencerTime)
        {
            foreach (Transform child in transform)
            {
                USEventBase baseEvent = child.GetComponent <USEventBase>();
                if (!baseEvent)
                {
                    continue;
                }

                float deltaTime = sequencerTime - baseEvent.FireTime;
                if (baseEvent.AffectedObject)
                {
                    baseEvent.ManuallySetTime(deltaTime);
                }
            }
        }