public void CreateClone(Vector3 StartPos, int _AttackPoint, float _MoveSpeed, Vector3 targetPos, string _TargetTag) { Projectiles Clone = Instantiate(this.gameObject).GetComponent <Projectiles>(); Clone.TargetTag = _TargetTag; Clone.transform.position = StartPos; Clone.ProjectilePos = StartPos; Clone.AttackPoint = _AttackPoint; Clone.MoveSpeed = _MoveSpeed; Clone.DirectionSet(targetPos); Clone.Init(); }