private void Awake() { playerObject = GameObject.FindGameObjectWithTag("Player"); characterData = GetComponent <CharacterData>(); characterVisualUpdater = GetComponent <SpriteAnimation>(); rigidBody = GetComponent <Rigidbody2D>(); weaponSelector = GetComponent <CharacterWeaponSelect>(); }
void Awake() { interaction = GetComponent <CharacterAttack>(); movement = GetComponent <CharacterMovement>(); weaponSelect = GetComponent <CharacterWeaponSelect>(); }