Exemplo n.º 1
0
 /// <summary>
 /// bind events that need to be bound from dependencies. This will occur after
 /// dependencies are resolved
 /// </summary>
 /// <param name="ebs"></param>
 protected virtual void ResolveEventBindings(EventBindingGroup ebs)
 {
 }
Exemplo n.º 2
0
 /// <inheritdoc />
 protected override void ResolveEventBindings(EventBindingGroup ebs)
 {
     ebs.Add(_physicsPawnProvider.OnMove.Subscribe(HandleMove));
     ebs.Add(_physicsPawnProvider.OnImpulse.Subscribe(HandleImpulse));
     ebs.Add(_physicsPawnProvider.OnDash.Subscribe(HandleDash));
 }