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