using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(menuName = "Finite State Machine/Action/Model Transform Control Entry Action")] public class ModelTransformsControlEntryAction : Action { public override void Act(FiniteStateMachine fsm) { fsm.animationController.gameObject.transform.eulerAngles = Vector3.zero; Debug.Log(fsm.animationController.gameObject.transform.eulerAngles); Debug.Log("Correction"); } }