public static DroneRacerJoystickInput FindDroneRacerJoystickInput() { DroneRacerJoystickInput drji = null; DroneRacer dr = DroneRacer.FindDroneRacer(); if (dr != null) { drji = dr.GetComponent <DroneRacerJoystickInput>(); } return(drji); }
public static DroneRacerArm FindDroneRacerArm() { DroneRacerArm dra = null; DroneRacer dr = DroneRacer.FindDroneRacer(); if (dr != null) { dra = dr.GetComponent <DroneRacerArm>(); } return(dra); }