Created
February 22, 2017 13:06
-
-
Save st0326s/5253a079da0c32b9030e91312d66fa27 to your computer and use it in GitHub Desktop.
ImageにResourcesLoadしたSpriteをセット メモ ref: http://qiita.com/satotin/items/8afda2eeb02f795133f0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public Sprite[] textures; | |
textures = Resources.LoadAll<Sprite>("Chara"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sprite image = Resources.Load<Sprite> ("Images/enemy/enemy000"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment