Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // (c) Copyright HutongGames, LLC 2010-2013. All rights reserved.
- using UnityEngine;
- namespace HutongGames.PlayMaker.Actions
- {
- [ActionCategory(ActionCategory.Material)]
- [Tooltip("Gets the current quality level")]
- public class GetQualitySetting : FsmStateAction
- {
- [RequiredField]
- [Tooltip("Where to store the quality")]
- public FsmInt qualityLevel;
- public override void OnEnter()
- {
- qualityLevel.Value = QualitySettings.GetQualityLevel ();
- Finish();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement