public void Handle_Bullet(SkillData data) { Actor attacker = ActorManager.Instance.Find(data.m_AttackerID); GameObject effect = GameObject.Instantiate <GameObject>((Resources.Load(data.m_EffectName) as GameObject)); effect.transform.position = attacker.transform.position; MoveType m = effect.AddComponent <MoveType>(); Actor target = ActorManager.Instance.Find(data.m_TargetID); m.MoveTo(MoveType.MType.Bezier, target.transform.position, data.m_BulletSpeed, () => { GameObject.Destroy(effect); }); }