// Start is called before the first frame update void Start() { BT_Attack = FindObjectOfType <BT_Attack>(); anim = GetComponent <Animator>(); rigidbody = GetComponent <Rigidbody>(); BotoesLivres = GetComponent <BotoesLivres>(); }
// Start is called before the first frame update void Start() { joystick = FindObjectOfType <Joystick>(); joystickPtr = FindObjectOfType <JoystickPointer>(); BT_Attack = FindObjectOfType <BT_Attack>(); BT_PULO = FindObjectOfType <BT_PULO>(); anim = GetComponent <Animator>(); rigidbody = GetComponent <Rigidbody>(); }