protected virtual void Awake() { user = transform.parent.GetComponent <BaseCharacter> (); hitBox = GetComponent <Collider> (); stats = GetComponent <BaseEquipmentProperties> (); moveset = GetComponent <BaseEquipmentMovesetModule> (); weaponState = GetComponent <BaseEquipmentStateModule> (); }
protected virtual void Awake() { user = transform.parent.GetComponent<BaseCharacter> (); hitBox = GetComponent<Collider> (); stats = GetComponent<BaseEquipmentProperties> (); moveset = GetComponent<BaseEquipmentMovesetModule> (); weaponState = GetComponent <BaseEquipmentStateModule> (); }