/// <summary> /// Initialises the script. /// </summary> /// void Start() { // remember the scale at start originalSize = this.transform.localScale; // create the variables to check the state of the input device inputReset = new InputDeviceHandler(deviceName, channelNameReset); inputScale = new InputDeviceHandler(deviceName, channelNameScale); }
void Start() { inputFire = new InputDeviceHandler(deviceName, channelName); }
void Start() { rayComponent = GetComponentInChildren <PointerRay>(); button = new InputDeviceHandler(deviceName, channelName, alternateButtonName); }