Пример #1
0
    private void Reset()
    {
        ResetLock();
        //_videoAddress = Application.persistentDataPath;

        _photoTexs          = new List <Texture2D>();
        _videoFactoryStatus = VideoFactoryStatus.Disabled;
        _contentStatus      = VideoFactoryContentStatus.Prepared;
    }
Пример #2
0
    /// <summary>
    ///     添加 Photo Texture
    /// </summary>
    public void AddPhotoTexture(Texture2D photoTex)
    {
        if (_contentStatus == VideoFactoryContentStatus.Finish)
        {
            return;
        }

        _photoTexs.Add(photoTex);

        if (_photoTexs.Count == 3)
        {
            _contentStatus = VideoFactoryContentStatus.Finish;
        }
    }