Exemplo n.º 1
0
 public TiledImageNode()
 {
     name          = "Tiled Image";
     m_SpriteInput = CreateSlotListener <Sprite>(CreateInputSlot <EmptySlot <Sprite> >("Sprite"), OnMeshDirty);
 }
 public FilledImageNode()
 {
     name          = "Filled Image";
     m_SpriteInput = CreateSlotListener <Sprite>(CreateInputSlot <EmptySlot <Sprite> >("Sprite"), OnMeshDirty);
     m_FillAmount  = CreateSlotListener <float>(CreateInputSlot <SliderSlot>("Fill Amount").SetValue(1).SetRange(0, 1), OnMeshDirty);
 }