Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ protected override SuperLayer CreateLayerComponent(GameObject go)

protected override void InternalLoadFromXml(GameObject go)
{
// No extra data to load from the xml
var layer = go.GetComponent<SuperImageLayer>();

layer.m_RepeatX = m_Xml.GetAttributeAs("repeatx", false);
layer.m_RepeatY = m_Xml.GetAttributeAs("repeaty", false);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,11 @@ public class SuperImageLayer : SuperLayer
{
[ReadOnly]
public string m_ImageFilename;

[ReadOnly]
public bool m_RepeatX;

[ReadOnly]
public bool m_RepeatY;
}
}