[Unity 2D] - Help with a Whip Attack

I’m working on a version of Castlevania on Unity. At the moment, I’m trying to get the whip to work. I’m able to generate a whip with an Instatiate though it won’t appear at the position I’ve set. I’d also like to delay the the appearance of the whip until the character is actually whipping (He does a little build-up first).

I’m using the line "
WhipInstance = Instantiate(WhipPrefab, WhipOrigin.position, WhipOrigin.rotation) as BoxCollider2D;"

Should I maybe have ‘position2D’ instead?

Let me know if I haven’t provided enough code(first question).

Attach a box collider to your whip prefab and try

WhipInstance = (GameObject) Instantiate(WhipPrefab, WhipOrigin.position, Quaternion.identity) as GameObject;

As for delaying the appearance of the whip, there are a number of ways:

Method 1: Invoke. You can set the delay (in seconds) to call the method via the parameter.

Invoke("method_name", 5F);
void method_name()
//Instantiate whip here

Method 2: Coroutine

StartCoroutine("method_name"); //this calls the method

IEnumerator method_name() 
//do stuff here before the 5 second wait	
yield return new WaitForSeconds(5f); //set delay here
//Instantiate whip here

Method 3: Instantiate so many prefabs that a “delay” is created. Some people call this “lag.” Huahuahuahuahuahua

I’ve resolved the issue. If it’s okay with everyone I would rather not admit the idiotic mistake that led me here, thanks so much for all your help though.