19 lines
414 B
C#
19 lines
414 B
C#
// 武器特效,控制位置
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace EventCubeMelt.Weapon
|
|
{
|
|
public class WeaponEffectController : MonoBehaviour
|
|
{
|
|
[SerializeField]
|
|
private List<Vector3> weaponPos = new();
|
|
//-
|
|
public void SetPositionByIndex(int index)
|
|
{
|
|
transform.localPosition = weaponPos[index];
|
|
}
|
|
}
|
|
} |