I keep getting Error code CS1003 Syntax error, ‘,’ expected., here is my code
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class explosion : MonoBehaviour
{
public GameObject blast_radius;
public void explosion()
{
Destroy(Instantiate(blast_radius,target.position,target_rotation.rotation)1);
}
}
If you can help me out, I would be very greatful.