void Awake() { playerTransform = GameObject.FindGameObjectWithTag("Player").transform; hold = Hold; mouseDown = MouseDown; mouseUp = MouseUp; active = Active; }
private void OnDisable() { landedEvent -= Landed; holdEvent -= Hold; }
void Awake() { mouseDown = MouseDown; hold = Hold; }
private void OnEnable() { landedEvent += Landed; holdEvent += Hold; }