added HoverIndicator (geht ned ganz)
This commit is contained in:
parent
7ccf683005
commit
74941ea9ae
3 changed files with 107 additions and 3 deletions
|
|
@ -41,7 +41,6 @@ namespace Tiles
|
|||
Texture2D texture = new Texture2D(32, 32, TextureFormat.ARGB32, false);
|
||||
texture.LoadImage(data);
|
||||
Sprite sprite = Sprite.Create(texture, new Rect(0.0f, 0.0f, texture.width, texture.height), new Vector2(0.5f, 0.5f), 32);
|
||||
Debug.Log(sprite);
|
||||
return sprite;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue