using System.Collections; using System.Collections.Generic; using UnityEngine; public class GhostEffectSpwan : MonoBehaviour { public CharacterGhostEffect GhostEffect; public void SpawnGhost() { GhostEffect.CreateGhost(); } }