Exemple #1
0
    void BeginPlayCenterSlotIfAnimated()
    {
        Preset centerPreset = currentShelf.CurrentPreset();

        if (centerPreset.Type == Preset.PresetType.Animated)
        {
            Poser       centerPoser = currentShelf.CurrentPoser();
            List <Pose> motion      = centerPreset.Motion;
            StartCoroutine(centerPoser.BeginMotion(motion, recordInterval / PLAYBACK_SPEED));
            isPlaying     = true;
            playBeginTime = Time.time;
        }
    }