using System.Collections; using System.Collections.Generic; using UnityEngine; /******************************************************************************* *Create By CG *Function *******************************************************************************/ namespace SetCtrl { public class SetCtrl : MonoBehaviour { [ContextMenu("ÐÞ¸ÄÃû×Ö")] private void SetName() { transform.name = transform.name.Replace("-fixed", ""); } } }