chenxin
2020-10-22 e28fd5cc81c68db8efcab33ea526643aae5e2c19
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using UnityEngine;
 
namespace TowerDefense.Agents.Data
{
    [CreateAssetMenu(fileName = "AgentConfiguration.asset", menuName = "TowerDefense/Agent Configuration", order = 1)]
    public class AgentConfiguration : ScriptableObject
    {
        /// <summary>
        /// The name of the agent
        /// </summary>
        public string agentName;
 
        /// <summary>
        /// Short summary of the agent
        /// </summary>
        [Multiline]
        public string agentDescription;
 
        /// <summary>
        /// The Agent prefab that will be used on instantiation
        /// </summary>
        public Agent agentPrefab;
 
        /// <summary>
        /// 血量基准缩放值.
        /// </summary>
        public float healthScale = 1.0f;
    }
}