fix: Unity 脚本编译错误 - 缺少 AVector3 别名和 detail 变量
This commit is contained in:
parent
3a2f68b02b
commit
66537d1621
Binary file not shown.
@ -5,6 +5,7 @@ using CounterDrone.Core.Models;
|
|||||||
using CounterDrone.Core.Simulation;
|
using CounterDrone.Core.Simulation;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using SimEvent = CounterDrone.Core.Simulation.SimEvent;
|
using SimEvent = CounterDrone.Core.Simulation.SimEvent;
|
||||||
|
using AVector3 = CounterDrone.Core.Algorithms.Vector3;
|
||||||
|
|
||||||
namespace CounterDrone.Unity
|
namespace CounterDrone.Unity
|
||||||
{
|
{
|
||||||
@ -52,6 +53,7 @@ namespace CounterDrone.Unity
|
|||||||
foreach (var a in DefaultAmmunition.GetAll()) db.Insert(a);
|
foreach (var a in DefaultAmmunition.GetAll()) db.Insert(a);
|
||||||
var ammoCatalog = db.Table<AmmunitionSpec>().ToList();
|
var ammoCatalog = db.Table<AmmunitionSpec>().ToList();
|
||||||
|
|
||||||
|
var detail = scenarioMgr.GetDetail(taskId);
|
||||||
var droneGroup = new DroneGroup
|
var droneGroup = new DroneGroup
|
||||||
{
|
{
|
||||||
GroupId = "default",
|
GroupId = "default",
|
||||||
|
|||||||
@ -7,6 +7,7 @@ using CounterDrone.Core.Repository;
|
|||||||
using CounterDrone.Core.Services;
|
using CounterDrone.Core.Services;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UVector3 = UnityEngine.Vector3;
|
using UVector3 = UnityEngine.Vector3;
|
||||||
|
using AVector3 = CounterDrone.Core.Algorithms.Vector3;
|
||||||
|
|
||||||
namespace CounterDrone.Unity
|
namespace CounterDrone.Unity
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user