29 lines
564 B
C#
29 lines
564 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class BossInfo : MonoBehaviour
|
|
{
|
|
|
|
[Header("名字与头像")]
|
|
public string bossName;
|
|
public Sprite bossHead;
|
|
|
|
[Header("失衡最大次数")]
|
|
public int maxAttackedCount;
|
|
[Header("被攻击次数")]
|
|
public int attackedCount=0;
|
|
|
|
//是否允许锁定目标
|
|
[Header("索敌")]
|
|
public bool isLockTarget;
|
|
[Header("移动")]
|
|
public bool isCanMove;
|
|
[Header("翻转")]
|
|
public bool isFix;
|
|
|
|
[Header("移动速度")]
|
|
public float _moveSpeed;
|
|
}
|