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