Пример #1
0
        /*END record and write out speed on timer*/

        // Use this for initialization
        void Start()
        {
            char_kinematic = GetComponent <Kinematic>();
            //******
            seek   = GetComponent <KinematicSeek>();
            arrive = GetComponent <KinematicArrive>();
            //******arrive = GetComponent<DynoArrive>();
            align = GetComponent <DynoAlign>();
            //******

            /*record and write out speed on timer*/
            StartTime = Time.time;
            FileName  = "KineTimer.txt";
            System.IO.File.WriteAllText(@"C:\Grad School\AI\A1\" + FileName, "0");
        }
 // Use this for initialization
 void Start()
 {
     char_kinematic = GetComponent <Kinematic>();
     seek           = GetComponent <KinematicSeek>();
     arrive         = GetComponent <KinematicArrive>();
 }