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