Exemple #1
0
 void OnGUI()
 {
     Synthesis.Interface(cl, h, point, ref start, ref speed, "H2+Cl2=2HCL", style);
     if (start)
     {
         StartCoroutine(Change_texts());
     }
 }
Exemple #2
0
 void OnGUI()
 {
     Synthesis.Interface(o, c, point, ref start, ref speed, "O2+C=CO2", style);
     if (start)
     {
         StartCoroutine(Change_texts());
     }
     if (start)
     {
         for (int i = 0; i < o.Count; i++)
         {
             Global_Functions.Start_Anim(start, o[i], point[i], speed);
         }
     }
 }