using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace YLBattle
{
public class FightingTipManager : MonoBehaviour
{
///
/// 画布
///
private Canvas m_Canvas = null;
///
///坐标
///
private RectTransform rectTransform;
///
/// 实例
///
static FightingTipManager mInstance;
///
/// 获取单键
///
/// 单键实例
public static FightingTipManager Instance
{
get
{
if (mInstance == null)
{
GameObject obj = GameObject.Find("FightingTipManager");
if (obj != null)
{
mInstance = obj.AddComponent();
}
}
return mInstance;
}
}
void Start()
{
m_Canvas = GetComponent