public override void Applied(CharacterData target) { base.Applied(target); //We use the fire effect as it's the only one existing in the project. //You can add new VFX and use an if or switch statement to use the right VFXType //depending on this effect m_DamageType m_FireInstance = VFXManager.GetVFX(VFXType.FireEffect); m_FireInstance.Effect.transform.position = target.transform.position + Vector3.up; }
void Awake() { Instance = this; Init(); }