public static DroneRacerJoystickInput FindDroneRacerJoystickInput()
        {
            DroneRacerJoystickInput drji = null;

            DroneRacer dr = DroneRacer.FindDroneRacer();

            if (dr != null)
            {
                drji = dr.GetComponent <DroneRacerJoystickInput>();
            }

            return(drji);
        }
Ejemplo n.º 2
0
        public static DroneRacerArm FindDroneRacerArm()
        {
            DroneRacerArm dra = null;

            DroneRacer dr = DroneRacer.FindDroneRacer();

            if (dr != null)
            {
                dra = dr.GetComponent <DroneRacerArm>();
            }

            return(dra);
        }