Exemplo n.º 1
0
 private void HandleGroupAnimationInformationEvent(GroupAnimationEvent groupAnimationEvent)
 {
     if (!groupAnimationEvents.ContainsKey(groupAnimationEvent.id))
     {
         groupAnimationEvents.Add(groupAnimationEvent.id, groupAnimationEvent);
     }
     else
     {
         groupAnimationEvents[groupAnimationEvent.id].SubscribeActorToAnimation(groupAnimationEvent);
     }
 }
Exemplo n.º 2
0
 public void SubscribeActorToAnimation(GroupAnimationEvent info)
 {
     actor3Ds.Add(info.actor);
     callbacks.Add(info.callback);
 }