UnityEditor.AvatarPreview.AvatarTimeControlGUI C# (CSharp) Méthode

AvatarTimeControlGUI() public méthode

public AvatarTimeControlGUI ( Rect rect ) : void
rect UnityEngine.Rect
Résultat void
        public void AvatarTimeControlGUI(Rect rect)
        {
            Rect rect2 = rect;
            rect2.height = 21f;
            this.timeControl.DoTimeControl(rect2);
            rect.y = rect.yMax - 20f;
            float num = this.timeControl.currentTime - this.timeControl.startTime;
            EditorGUI.DropShadowLabel(new Rect(rect.x, rect.y, rect.width, 20f), string.Format("{0,2}:{1:00} ({2:000.0%}) Frame {3}", new object[] { (int) num, this.Repeat(Mathf.FloorToInt(num * this.fps), this.fps), this.timeControl.normalizedTime, Mathf.FloorToInt(this.timeControl.currentTime * this.fps) }));
        }