2
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
717 B
C#

2 years ago
using System;
using UnityEngine;
using UnityEngine.Playables;
[Serializable]
public class EffectInfo
{
2 years ago
[Rename("特效资源")]
2 years ago
public GameObject Effect;
2 years ago
[Rename("是否跟随实体")]
2 years ago
public bool isAttach;
2 years ago
[Rename("是否忽略速度缩放")]
2 years ago
public bool isSpeedIgnore;
2 years ago
[Rename("是否在地面释放")]
2 years ago
public bool isGround;
2 years ago
[Rename("额外偏移")]
2 years ago
public Vector3 offset;
2 years ago
[Rename("额外旋转")]
2 years ago
public float rotAdd;
2 years ago
[Rename("额外随机旋转")]
2 years ago
public float rotAddRandom;
}
[Serializable]
public class EffectBehaviour : PlayableBehaviour
{
public EffectInfo[] EffectInfos;
public override void OnPlayableCreate(Playable playable)
{
}
}