Exemplo n.º 1
0
 private void OnEnable()
 {
     if (!instance)
     {
         instance = this;
     }
 }
Exemplo n.º 2
0
    private void Awake()
    {
        canvasGroup      = GetComponent <CanvasGroup>();
        canvasGroupIcons = icons.GetComponent <CanvasGroup>();
        if (!instance)
        {
            instance = this;
        }
        rectTransform = GetComponent <RectTransform>();

        materialDpriteColorized.SetColor("_Color", new Color(1, 1, 1, 0));

        canvasGroupIcons.alpha = 1;
    }
Exemplo n.º 3
0
    public GameObject[] nodes; //어디로 갈지 위치값

    private void Awake()
    {
        _instance = this;
    }