DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ AnimateDigitsInside()

void AnimateDigitsInside ( string digitIndex)
protected

См. определение в файле CombinationLock.c строка 746

747 {
748 float animPhaseOffset = 0.1;
749 float animPhase = GetAnimationPhase("Lock_Attached_1_Digit" + digitIndex);
750
751 if (animPhase >= 1.0)
752 {
753 animPhase = 0;
754 ResetAnimationPhase("Lock_Attached_1_Digit" + digitIndex, animPhase);
755 ResetAnimationPhase("Lock_Item_1_Digit" + digitIndex, animPhase);
756 }
757
758 SetAnimationPhase("Lock_Attached_1_Digit" + digitIndex, animPhase + animPhaseOffset);
759 SetAnimationPhase("Lock_Item_1_Digit" + digitIndex, animPhase + animPhaseOffset);
760 }

Используется в UpdateVisuals().