コード例 #1
0
        public void Clean(NodeRemoveEvent evt, SelfDeadTankNode deadTank, [JoinByTank] StreamWeaponNode idleWeapon)
        {
            Entity entity = idleWeapon.Entity;

            entity.RemoveComponentIfPresent <StreamWeaponIdleComponent>();
            entity.RemoveComponentIfPresent <StreamWeaponWorkingComponent>();
        }
コード例 #2
0
 public void SwitchToNormalMode(NodeAddedEvent evt, SelfDeadTankNode tank, SoundListenerNode listener)
 {
     listener.healthFeedbackSoundListener.SwitchToNormalHealthMode();
 }
コード例 #3
0
 public void DisableHealthVignette(NodeAddedEvent evt, SelfDeadTankNode tank, ReadyBattleCameraNode camera)
 {
     camera.healthFeedbackCameraPrepared.TargetIntensity = 0f;
 }