blob: f59ad001de160b30f63a0517626375aab2e5f4b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
using System;
using UnityEngine;
namespace UILib
{
public interface IXUISprite : IXUIObject, IUIWidget, IUIRect, IXUICD
{
IXUIAtlas uiAtlas { get; }
string spriteName { get; set; }
int spriteWidth { get; set; }
int spriteHeight { get; set; }
int spriteDepth { get; set; }
string atlasPath { get; }
Vector4 drawRegion { get; set; }
void SetAlpha(float alpha);
float GetAlpha();
bool SetSprite(string strSprite, string strAtlas, bool fullAtlasName = false);
bool SetSprite(string strSprite);
void SetEnabled(bool bEnabled);
void SetGrey(bool bGrey);
void SetColor(Color c);
void SetAudioClip(string name);
void CloseScrollView();
void MakePixelPerfect();
void RegisterSpriteClickEventHandler(SpriteClickEventHandler eventHandler);
void RegisterSpritePressEventHandler(SpritePressEventHandler eventHandler);
void RegisterSpriteDragEventHandler(SpriteDragEventHandler eventHandler);
void SetRootAsUIPanel(bool bFlag);
void SetFillAmount(float val);
void SetFlipHorizontal(bool bValue);
void SetFlipVertical(bool bValue);
void ResetAnimationAndPlay();
SpriteClickEventHandler GetSpriteClickHandler();
SpritePressEventHandler GetSpritePressHandler();
void ResetPanel();
void UpdateAnchors();
bool IsEnabled();
}
}
|