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#

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