| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- using Sirenix.OdinInspector;
- using System;
- using UnityEngine;
- //融魂技
- public enum ConductSkills
- {
- Null,
- [LabelText("冥火涅槃")] NetherfireRebirth,
- [LabelText("电光炮")] FlyingSwords,
- [LabelText("合成大胖子")]
- Giant,
- [LabelText("光球")]
- Photon,
- }
- public class ConductManager : MonoBehaviour
- {
- [HideInInspector] static public ConductManager instance;
- //冥火涅槃
- [Serializable] public struct NetherfireRebirth
- {
- [LabelText("标签")] public AttributeTag attributeTag;
- [LabelText("献祭比例(%)")] public float[] sacrificeRatio;
- [LabelText("效果规模")] public int[] power;
- [LabelText("效果加成(%)")] public float effectBonus;
- [LabelText("CD")] public float[] cd;
- [LabelText("随机范围")] public Vector2 randomRange;
- [LabelText("是否会死亡")] public bool canDie;
- }
- [LabelText("冥火涅槃")] public NetherfireRebirth netherfireRebirth;
- //电光炮
- [Serializable]
- public struct FlyingSwords
- {
- [LabelText("标签")] public AttributeTag attributeTag;
- [LabelText("献祭比例(%)")] public float[] sacrificeRatio;
- [LabelText("效果规模")] public int[] power;
- [LabelText("效果加成(%)")] public float effectBonus;
- [LabelText("CD")] public float[] cd;
- public GameObject obj;
- [LabelText("角度范围")] public float angleRange;
- [LabelText("入射角")] public float arrivalAngle;
- }
- [LabelText("电光炮")] public FlyingSwords flyingSwords;
- private void Awake()
- {
- if(!instance)
- {
- instance = this;
- }
- }
- }
|