31 lines
525 B
C#
31 lines
525 B
C#
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
#if UNITY_EDITOR
|
|
using UnityEditor;
|
|
#endif
|
|
|
|
namespace Ether
|
|
{
|
|
public class InputFielldEx : InputField
|
|
{
|
|
|
|
#if UNITY_EDITOR
|
|
[MenuItem("GameObject/UIEx/InputFielldEx", priority = -996)]
|
|
private static void CreateButtonEx(MenuCommand menuCmd)
|
|
{
|
|
GameObject selection = Selection.activeGameObject;
|
|
|
|
CommonExtension.CreateComponent<InputFielldEx>(selection, (obj) =>
|
|
{
|
|
|
|
});
|
|
|
|
}
|
|
|
|
#endif
|
|
}
|
|
}
|