public void OnUpdate()
 {
     UpdatePlayer?.Invoke();
 }
Example #2
0
 private void Update()
 {
     updatePlayer?.Invoke();
 }