private void Awake() { m_BoxCollider = GetComponent <SmartBoxCollider>(); m_Rigidbody2D = GetComponent <Rigidbody2D>(); input = GetComponent <AbstractCharacterInput>(); }
private void OnEnable() { collider = (SmartBoxCollider)target; }
private void Awake() { collider = GetComponent <SmartBoxCollider>(); rigidbody = GetComponent <Rigidbody2D>(); }