Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pipeline tile image examples #43

Closed
SavedByZero opened this issue Jul 30, 2018 · 1 comment
Closed

Pipeline tile image examples #43

SavedByZero opened this issue Jul 30, 2018 · 1 comment

Comments

@SavedByZero
Copy link

IT isn't exactly clear which pipeline images would go here:

tile.m_Sprites[0] = (Sprite) EditorGUILayout.ObjectField("None", tile.m_Sprites[0], typeof(Sprite), false, null);
			tile.m_Sprites[2] = (Sprite) EditorGUILayout.ObjectField("One", tile.m_Sprites[2], typeof(Sprite), false, null);
			tile.m_Sprites[1] = (Sprite) EditorGUILayout.ObjectField("Two", tile.m_Sprites[1], typeof(Sprite), false, null);
			tile.m_Sprites[3] = (Sprite) EditorGUILayout.ObjectField("Three", tile.m_Sprites[3], typeof(Sprite), false, null);
			tile.m_Sprites[4] = (Sprite) EditorGUILayout.ObjectField("Four", tile.m_Sprites[4], typeof(Sprite), false, null);
	

Although it's obvious enough that a cross "+" would go in index 4.

@SavedByZero
Copy link
Author

SavedByZero commented Jul 30, 2018

screen shot 2018-07-30 at 1 23 22 pm

After some playing around, I figured it out. Note: the captions are somewhat misleading -- these aren't based on the number of tiles surrounding it, they're based on how many directions the pipes are going in. The second tile down obviously has more than one pipe surrounding it, since the pipe graphic exits two sides of the tile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant