public GameObject GetParticle(ParticleSystemObject.Type type) { if (particlesDictionary.ContainsKey(type)) { return(particlesDictionary[type]); } return(null); }
public void PlayParticle(ParticleSystemObject.Type type, InteractionTarget.IK_Point_Player target) { GameObject.Instantiate(particleSystemDataBank.GetParticle(type), ikAnimationManager.GetIKPoint(target).position, particleSystemDataBank.GetParticle(type).transform.rotation); }