예제 #1
0
 public void Clear()
 {
     _ClipData = null;
     _ClipButtonImage.texture = null;
     _ClipButton.GetComponent <Image>().color = Color.white;
     _ClipButtonText.enabled = true;
     _State = ClipPadState.Empty;
 }
예제 #2
0
    private void OnLoadSuccess(string filePath)
    {
        System.IO.FileInfo fileInfo = new System.IO.FileInfo(filePath);
        PlayerPrefs.SetString("LastVideoPath", fileInfo.Directory.FullName);

        _ClipData            = new ProjectClip();
        _ClipData._VideoPath = filePath;

        _Manager.GetClipPreview(filePath, this);
    }
예제 #3
0
 public void LoadFromClipData(ProjectClip clipData)
 {
     _ClipData = clipData;
     _State    = ClipPadState.Loaded;
     RefreshUI();
 }