void Awake() { myRigidbody = GetComponent <Rigidbody2D>(); fx = FindObjectOfType <VFXHandler>(); AH = FindObjectOfType <AudioHandler>(); Debug.Log(AH.gameObject.GetInstanceID()); }
private void Awake() { Instance = this; }
void Awake() { myRigidbody = GetComponent <Rigidbody2D>(); fx = FindObjectOfType <VFXHandler>(); AH = FindObjectOfType <AudioHandler>(); Debug.Log(AH.gameObject.GetInstanceID()); }
private void Awake() { Instance = this; }