Esempio n. 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();
        }
Esempio n. 2
0
 public PlayerVisualEffectSystem(CoreInteractiveObject AssociatedInteractiveObject,
                                 PlayerVisualEffectSystemDefinition PlayerVisualEffectSystemDefinition)
 {
     this.PlayerOnLowHealthVisualEffectSystem = new PlayerOnLowHealthVisualEffectSystem(AssociatedInteractiveObject, PlayerVisualEffectSystemDefinition);
 }