- Red dot plugin for C# project.
- Unity 5.0 or above.
- .Net Framework 3.5 or above.
- Windows.
- Mark a data struct is red(dirty) if self changed or children data struct changed.
- Base class to collect state changes.
- Base class to register and unregister children dots.
- Inherited from Base class RedDot.
public class Leaf : RedDot
{
public Color Color
{
set
{
//Check the value is changed?
if (value != color)
{
color = value;
//Set red state if value is changed.
IsRed = true;
}
}
get { return color; }
}
protected Color color;
}
Copyright © 2022 Mogoson. mogoson@outlook.com