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.
25 lines
481 B
C#
25 lines
481 B
C#
|
2 years ago
|
using System;
|
||
|
|
using UnityEngine;
|
||
|
|
using UnityEngine.Playables;
|
||
|
|
|
||
|
|
[Serializable]
|
||
|
|
public class EffectInfo
|
||
|
|
{
|
||
|
|
public GameObject Effect;
|
||
|
|
public bool isAttach;
|
||
|
|
public bool isSpeedIgnore;
|
||
|
|
public bool isGround;
|
||
|
|
public Vector3 offset;
|
||
|
|
public float rotAdd;
|
||
|
|
public float rotAddRandom;
|
||
|
|
}
|
||
|
|
[Serializable]
|
||
|
|
public class EffectBehaviour : PlayableBehaviour
|
||
|
|
{
|
||
|
|
public EffectInfo[] EffectInfos;
|
||
|
|
public override void OnPlayableCreate(Playable playable)
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|