18 lines
492 B
C#
18 lines
492 B
C#
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", "");
|
|
}
|
|
}
|
|
} |