- changed status to open
How to let it work with UI component !
Issue #166
open
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using UnityEngine.UI;
using Sirenix.OdinInspector;
public class MyButton : Button
{
public int ID = 100;
public List<int> MyList = new List<int>();
}
I have a class that inherits from the button. I want it to show the default content and what I've expanded.How am I supposed to do that?
Comments (2)
-
-
- changed milestone to 1.1.0.0
- Log in to comment
We're afraid there isn't currently a good way of doing this, except going into Odin's preferences and disabling Odin completely for the MyButton type.
In 1.1, we're doing a rebuild of our property system internals, which will allow stuff like this to be done - we're afraid you'll have to wait until then, for this.