title: Awake Method not starting
body: <p>Im trying to use the Awake method without attaching it to an object, but it never initializes the class. It was supposed to initialize the class so that it could run an OnEnable method that added a subscriber to an event, but it did nothing. The only thing that works is attaching the script to a game object, but I don't want to do that, I tried changing the acmes modifier from private to protected virtual and a bunch more...</p>
  <p>This is the code:</p>
  <pre><code>using System.Collections;
  using System.Collections.Generic;
  using UnityEngine;
  
  public class MovementAnimationParameterControl : MonoBehaviour
  {
      private Animator animator;
  
      private void Awake()
      {
          animator = GetComponent&lt;Animator&gt;();
      }
  
      private void OnEnable()
      {
          EventHandler.MovementEvent += SetAnimationParameters;
  
          Debug.Log(&quot;Enable. Im running, its not me&quot;);
      }
  
      private void OnDisable()
      {
          EventHandler.MovementEvent -= SetAnimationParameters;
          Debug.Log(&quot;Im running its not me&quot;);
      }
  
      private void SetAnimationParameters(float xInput, float yInput, bool isWalking)
      {
          animator.SetFloat(Settings.xInput, xInput);
          animator.SetFloat(Settings.yInput, yInput);
          animator.SetBool(Settings.isWalking, isWalking);
      }
  }
  </code></pre>