void Awake() { if (inputHandlerModel == null) { inputHandlerModel = this; } if (this != inputHandlerModel) { Destroy(this); } }
void OnEnable() { model = (InputHandlerModel)target; }