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