private void RpcShoow(Iitem item, int faceHorizontal, float angle, float powerValue, ItemEnum.ItemType arms) { if (item.transform.parent) { ItemMgr.instance.CreateItem(arms); } item.Shoot(transform, faceHorizontal, angle, powerValue); }
private void RpcShoow(Iitem item, int faceHorizontal, float angle, float powerValue, ItemEnum.ItemType arms) { if (item.transform.parent) { ItemMgr.instance.CreateItem(arms); } item.Shoot(transform, faceHorizontal, angle, powerValue); }