private void AddSceneAnims(ResFile resFile) { FscnFolder fscnFolder = new FscnFolder(); Nodes.Add(fscnFolder); foreach (var scn in resFile.SceneAnims) { FSCN sceneAnim = new FSCN(); sceneAnim.Text = scn.Name; sceneAnim.Read(scn); fscnFolder.Nodes.Add(sceneAnim); } }
public void LoadSubFile(FSCN anim) { activeFscn = anim; if (anim.SceneAnimU != null) { stPropertyGrid1.LoadProperty(anim.SceneAnimU, OnPropertyChanged); userDataEditor1.LoadUserData(anim.SceneAnimU.UserData); } else { stPropertyGrid1.LoadProperty(anim.SceneAnim, OnPropertyChanged); userDataEditor1.LoadUserData(anim.SceneAnim.UserData); } }