public override void OnEnter()
        {
            ChangeCameraTargetActionSettings changeCameraTargetActionSettings = PlatformUtils.FindAspectRatioSettings(OverrideSettings);

            if (changeCameraTargetActionSettings != null)
            {
                applySettings(changeCameraTargetActionSettings);
            }
            GameObject gameObject = null;

            if (!string.IsNullOrEmpty(TargetName))
            {
                gameObject = GameObject.Find(TargetName);
            }
            else if (TargetGameObject != null)
            {
                gameObject = base.Fsm.GetOwnerDefaultTarget(TargetGameObject);
            }
            if (gameObject != null)
            {
                Service.Get <EventDispatcher>().DispatchEvent(new CinematographyEvents.ChangeCameraTarget(gameObject.transform));
            }
            Finish();
        }
 private void applySettings(ChangeCameraTargetActionSettings settings)
 {
     TargetName       = settings.TargetName;
     TargetGameObject = settings.TargetGameObject;
 }