﻿
using HutongGames.PlayMaker;

namespace SRDebugger.Playmaker.Actions
{

	[ActionCategory("SRDebugger")]
	[Tooltip("Set the side of the screen the console is docked against.")]
	public class SetDockedConsoleAlignment : FsmStateAction
	{

		[Tooltip("Side of the screen the console should be docked against.")]
		public ConsoleAlignment alignment;

		public override void OnEnter()
		{
			SRDebug.Instance.DockConsole.Alignment = alignment;
			Finish();
		}

	}

}