void Start() { if (IsEnabled) { mouseSource = InputSources.Instance.mouse; } else { mouseSource = gameObject.AddComponent <InputSourceMouseDisabled>(); } }
void Start() { mouseSource = InputSources.Instance.mouse; }