using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// 
/// B2ºô½Ð»ú
/// 
public class Prop_B2Phone : PropBase
{
	public override string name => "B2";
	public override string iconPath => "art/ui/propicon/plane";
	string prefabPath = "prefabs/weapon/b2";
	public override void OnUse(GameObject owner)
	{
		TestB2 b2 = UnityEngine.Object.Instantiate(ResourceManager.Instance.Load(prefabPath));
		Vector3 pos3D = owner.GetComponent().GetProjectedPosition();
		b2.Set(pos3D + new Vector3(-15, 0, 0), pos3D + new Vector3(15, 0, 0), 20f, 3f);
	}
}