PopupExample.cs 272 B

123456789101112
  1. using UnityEngine;
  2. using System.Collections;
  3. public class PopupExample : MonoBehaviour
  4. {
  5. [Popup("Hoge","Fuga","Foo","Bar")]
  6. public string popup;
  7. [Popup(1,2,3,4,5,6)]
  8. public int popup2;
  9. [Popup(1.5f,2.3f,3.4f,4.5f,5.6f,6.7f)]
  10. public float popup3;
  11. }