Пример #1
0
    protected virtual void Awake()
    {
        user   = transform.parent.GetComponent <BaseCharacter> ();
        hitBox = GetComponent <Collider> ();

        stats       = GetComponent <BaseEquipmentProperties> ();
        moveset     = GetComponent <BaseEquipmentMovesetModule> ();
        weaponState = GetComponent <BaseEquipmentStateModule> ();
    }
Пример #2
0
    protected virtual void Awake()
    {
        user = transform.parent.GetComponent<BaseCharacter> ();
        hitBox = GetComponent<Collider> ();

        stats = GetComponent<BaseEquipmentProperties> ();
        moveset = GetComponent<BaseEquipmentMovesetModule> ();
        weaponState = GetComponent <BaseEquipmentStateModule> ();
    }