Пример #1
0
 public void DrawHammerHitDecalsRemote(RemoteHammerShotEvent evt, PelletThrowingGraphicsNode weapon, [JoinAll] SingleNode <DecalManagerComponent> decalManagerNode, [JoinAll] SingleNode <DecalSettingsComponent> settings)
 {
     weapon.hammerPelletCone.ShotSeed = evt.RandomSeed;
     this.DrawHammerHitDecals(evt.ShotDirection, weapon, decalManagerNode, settings.component);
 }
 public void InstantiatePellets(RemoteHammerShotEvent evt, PelletThrowingGraphicsNode weapon)
 {
     weapon.hammerPelletCone.ShotSeed = evt.RandomSeed;
     InstantiatePelletsByBaseEvent(evt.ShotDirection, weapon);
 }