public void InitializeEvents() { input = GetComponent <PointerInput>(); if (input != null) { input.SetEvents(OnUpdateSelection); } }