1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
using System.Collections; using System.Collections.Generic; using UnityEngine; // 部件 [DisallowMultipleComponent] public class UnitParts : MonoBehaviour { public enum EUnitPart { Sword = 1, Gun = 2, LHand = 3, RHand = 4, } [Tooltip("残影用的prefab")] public string afterImageAvatarPath; }