Exemple #1
0
 private void miSoundScripted_Click(object sender, System.EventArgs e)
 {
     Endogine.Scripting.FlowScript.ListPlayer pl = new Endogine.Scripting.FlowScript.ListPlayer();
     System.IO.StreamReader rd = new System.IO.StreamReader(EH.Instance.CastLib.DirectoryPath + "FlowScript.txt");
     if (Endogine.Scripting.EScript.Functions.Instance == null)
     {
         Endogine.Scripting.EScript.Functions funcs;
         funcs = new Endogine.Scripting.EScript.Functions();
     }
     //Endogine.Scripting.EScript.Functions.SetUserValue("o", new Endogine.Sound());
     pl.Run(rd.ReadToEnd());
 }
Exemple #2
0
 private void miSoundScripted_Click(object sender, System.EventArgs e)
 {
     Endogine.Scripting.FlowScript.ListPlayer pl = new Endogine.Scripting.FlowScript.ListPlayer();
     System.IO.StreamReader rd = new System.IO.StreamReader(EH.Instance.CastLib.DirectoryPath + "FlowScript.txt");
     if (Endogine.Scripting.EScript.Functions.Instance == null)
     {
         Endogine.Scripting.EScript.Functions funcs;
         funcs = new Endogine.Scripting.EScript.Functions();
     }
     //Endogine.Scripting.EScript.Functions.SetUserValue("o", new Endogine.Sound());
     pl.Run(rd.ReadToEnd());
 }