Example #1
0
 public void LoadParticlePrefab(TemporaryHeadStatusType trophy)
 {
     if (trophy != 0 && HeadStatusToDefinition.ContainsKey(trophy))
     {
         Content.LoadAsync(OnParticlesLoaded, HeadStatusToDefinition[trophy].EffectsContentKey);
     }
 }
Example #2
0
 private void showHeadStatus(TemporaryHeadStatusType type)
 {
     LoadParticlePrefab(type);
     Service.Get <INetworkServicesManager>().PlayerStateService.SetTemporaryHeadStatus((int)type);
 }
Example #3
0
 public ShowHeadStatus(TemporaryHeadStatusType statusType)
 {
     StatusType = statusType;
 }