View Player.cs
UIJoystick joystick;
void Start() {
this.joystick = GameObject.FindGameObjectWithTag("Joystick").GetComponent<UIJoystick>();
}
void Update() {
if (this.joystick.position.y > 0)
{
View file0.txt
"1.png":
{
"frame": {"x":4,"y":4,"w":33,"h":43},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":33,"h":43},
"sourceSize": {"w":33,"h":43}
}
"2.png":
{