示例#1
0
        public PlayerOnLowHealthVisualEffectSystem(CoreInteractiveObject AssociatedInteractiveObject, PlayerVisualEffectSystemDefinition PlayerVisualEffectSystemDefinition) : this()
        {
            this.AssociatedInteractiveObject        = AssociatedInteractiveObject;
            this.PlayerVisualEffectSystemDefinition = PlayerVisualEffectSystemDefinition;
            this.PlayerBodyRenderer = this.AssociatedInteractiveObject.InteractiveGameObject.Animator.gameObject.FindChildObjectRecursively("Body").GetComponent <Renderer>();

            this.ResetPlayerEmissionColor();
        }
示例#2
0
 public PlayerVisualEffectSystem(CoreInteractiveObject AssociatedInteractiveObject,
                                 PlayerVisualEffectSystemDefinition PlayerVisualEffectSystemDefinition)
 {
     this.PlayerOnLowHealthVisualEffectSystem = new PlayerOnLowHealthVisualEffectSystem(AssociatedInteractiveObject, PlayerVisualEffectSystemDefinition);
 }