public override void BeginSetup() { vector = new Vector2Input(this); at = new Vector2Input(this); inputs.Add(vector); inputs.Add(at); }
public override void BeginSetup() { inObj = new GameObjectInput(this); inVect = new Vector2Input(this); inputs.Add(inObj); inputs.Add(inVect); }
private void RegisterActionSet() { _logger.Info("Registering actions"); leftTriggerValue = new VectorInput("/actions/main/in/lefttriggervalue"); rightTriggerValue = new VectorInput("/actions/main/in/righttriggervalue"); menu = new BooleanInput("/actions/main/in/menu"); leftSlice = new HapticVibrationOutput("/actions/main/out/leftslice"); rightSlice = new HapticVibrationOutput("/actions/main/out/rightslice"); leftHandPose = new PoseInput("/actions/main/in/lefthandpose"); rightHandPose = new PoseInput("/actions/main/in/righthandpose"); thumbstick = new Vector2Input("/actions/main/in/thumbstick"); }
public override void BeginSetup() { //inputs : direction, speed //output : cible touchée quand ca arrive vecIn = new Vector2Input(this); speedIn = new FloatInput(this); objOut = new GameObjectOutput(this); projOut = new GameObjectOutput(this); inputs.Add(vecIn); inputs.Add(speedIn); outputs.Add(projOut); outputs.Add(objOut); }