1
This commit is contained in:
28
unity/Assets/Script/GameObject/Enemy/BossInfo.cs
Normal file
28
unity/Assets/Script/GameObject/Enemy/BossInfo.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user