void Start() { keyInput = GetComponent <IP_KeyboardHeli_Input>(); xboxInput = GetComponent <IP_XboxHeli_Input>(); if (keyInput && xboxInput) { SetInputType(inputType); } }
private void OnEnable() { targetInput = (IP_XboxHeli_Input)target; }