C# Class SocialGame.ChangeSprites

Inheritance: UnityEngine.MonoBehaviour
显示文件 Open project: BrainProject/UnityTemp

Public Properties

Property Type Description
imageUI UnityEngine.UI.Image
spriteRender UnityEngine.SpriteRenderer
steps UnityEngine.Sprite[]

Public Methods

Method Description
ResetSprites ( ) : void

Resets the sprites.

SetImage ( int index ) : void

Sets the image.

Method Details

ResetSprites() public method

Resets the sprites.
public ResetSprites ( ) : void
return void

SetImage() public method

Sets the image.
public SetImage ( int index ) : void
index int Index.
return void

Property Details

imageUI public_oe property

public Image,UnityEngine.UI imageUI
return UnityEngine.UI.Image

spriteRender public_oe property

public SpriteRenderer,UnityEngine spriteRender
return UnityEngine.SpriteRenderer

steps public_oe property

public Sprite[],UnityEngine steps
return UnityEngine.Sprite[]