Hi.
Thanks for sharing the script
I tested it but i got some obselete warnigs so i rewrote the script.
i also set an enum so you could select the other tiers :
// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved.
/*--- __ECO__ __PLAYMAKER__ __ACTION__ ---*/
// keywords : shader quality , shaderquality , globalShaderHardwareTier , ShaderHardwareTier
using UnityEngine;
using System;
namespace HutongGames.PlayMaker.Actions
{
[ActionCategory("QualitySettings")]
[Tooltip("Shader hardware tier classification for current device.")]
public class SetGraphicsActiveTier : FsmStateAction
{
[Tooltip("The torque forceMode")]
[ObjectType(typeof(UnityEngine.Rendering.GraphicsTier))]
public FsmEnum tier;
public override void OnEnter()
{
Graphics.activeTier = (UnityEngine.Rendering.GraphicsTier)tier.Value;
Finish();
}
}
}
I also gave a different name and added it to the
EcosystemCould you test if it works?
Search for : Set Graphics Active Tier