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.
39 lines
764 B
39 lines
764 B
3 years ago
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
public enum TacticType
|
||
|
{
|
||
|
无,
|
||
|
内攻,
|
||
|
堵截,
|
||
|
合围,
|
||
|
分割
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 挂载在战术模型对象上,战术模型信息类
|
||
|
/// </summary>
|
||
|
public class TacticMessage : MonoBehaviour {
|
||
|
|
||
|
public TacticType TacticType = new TacticType();
|
||
|
public MobileCFFSInfo.Tactic tactic = new MobileCFFSInfo.Tactic();//战术内容
|
||
|
|
||
|
private void Awake()
|
||
|
{
|
||
|
//初始化战术定位列表
|
||
|
List<MobileCFFSInfo.Vector2> Locations = new List<MobileCFFSInfo.Vector2>();
|
||
|
tactic.Locations = Locations;
|
||
|
}
|
||
|
|
||
|
// Use this for initialization
|
||
|
void Start () {
|
||
|
|
||
|
}
|
||
|
|
||
|
// Update is called once per frame
|
||
|
void Update () {
|
||
|
|
||
|
}
|
||
|
}
|