You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.5 KiB
49 lines
1.5 KiB
3 years ago
|
using UnityEngine;
|
||
|
using System.Collections;
|
||
|
using AX.TrackRecord;
|
||
|
|
||
|
using AX.MessageSystem;
|
||
|
public class NormalCars : BaseClass
|
||
|
{
|
||
|
public static int carIndex = 0;
|
||
|
public NormalCars(GameObject obj, GameObject parentObj, GameObject TheZaiQingUI, int id, RaycastHit hit_, float delta_y_)
|
||
|
: base(obj, parentObj, TheZaiQingUI, id, hit_, delta_y_)
|
||
|
{
|
||
|
carIndex++;
|
||
|
}
|
||
|
|
||
|
public override void InstatiateItem(string objName, string topname)
|
||
|
{
|
||
|
base.InstatiateItem(objName, topname);
|
||
|
|
||
|
//carIndex++;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 移动指挥终端通信模块需要
|
||
|
/// </summary>
|
||
|
/// <param name="obj"></param>
|
||
|
/// <param name="parentObj"></param>
|
||
|
/// <param name="TheZaiQingUI"></param>
|
||
|
/// <param name="id"></param>
|
||
|
/// <param name="pos"></param>
|
||
|
/// <param name="origin"></param>
|
||
|
/// <param name="delta_y_"></param>
|
||
|
public NormalCars(GameObject obj, GameObject parentObj, GameObject TheZaiQingUI, int id, MobileCFFSInfo.Vector2 pos, MobileCFFSInfo.Vector2 origin, float delta_y_)
|
||
|
: base(obj, parentObj, TheZaiQingUI, id, pos, origin, delta_y_)
|
||
|
{
|
||
|
carIndex++;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 移动指挥终端实例化车辆
|
||
|
/// </summary>
|
||
|
/// <param name="objName">对象名</param>
|
||
|
/// <param name="topname">头顶名</param>
|
||
|
/// <param name="type">移动指挥终端车名</param>
|
||
|
public override void InstatiateTruck(string objName, string topname, string type)
|
||
|
{
|
||
|
base.InstatiateTruck(objName, topname, type);
|
||
|
}
|
||
|
}
|