public override void OnSelectionChanged(GameObject selection)
 {
     objectName     = selection.name;
     this.selection = selection;
     controller     = selection.GetComponent <EnemyController>();
     animator       = selection.GetComponent <Animator>();
     if (controller != null)
     {
         animations = controller.animations;
     }
     movement = selection.GetComponent <MultidirectionalTransformMovement>();
 }
 private void OnEnable()
 {
     mtm = GetComponent <MultidirectionalTransformMovement>();
 }