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
"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": | |
{ |
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
UIJoystick joystick; | |
void Start() { | |
this.joystick = GameObject.FindGameObjectWithTag("Joystick").GetComponent<UIJoystick>(); | |
} | |
void Update() { | |
if (this.joystick.position.y > 0) | |
{ |
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
void Start () { | |
background = GetComponent<GUITexture>().texture; | |
} | |
void OnGUI(){ | |
GUI.DrawTexture(new Rect(Screen.width / 2 - 128, Screen.height / 2 - 128, background.width, | |
background.width), background); | |
} |
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
void Start () { | |
background = GetComponent<GUITexture>().texture; | |
} | |
void OnGUI(){ | |
GUI.DrawTexture(new Rect(Screen.width / 2 - 128, Screen.height / 2 - 128, background.width, | |
background.width), background); | |
} |
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
void OnTriggerStay(Collider other) { | |
ins = Instantiate(PlusMoneyPrefab) as GameObject; | |
Vector3 startPosition = new Vector3(startX, startY, -1); | |
ins.transform.parent = Respawn.transform; | |
ins.transform.localPosition = startPosition; | |
ins.transform.localScale = new Vector3(50, 50, 0); | |
Hashtable parameters = new Hashtable(); | |
parameters.Add("y", startY + 80); |
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 static Camera mainCamera; | |
public static float startWorldPointX; | |
public static float endWorldPointX; | |
public static float startWorldPointY; | |
public static float endWorldPointY; | |
void Start () { |
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
% node | |
% node -v | |
% which node |
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
apply plugin: 'android' | |
... | |
dependencies { | |
... | |
compile 'com.google.android.gms:play-services:+' | |
} |
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
$ brew install caskroom/cask/brew-cask |
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 class BlockDto : ObjectBaseDto | |
{ | |
public BlockDto () | |
{ | |
} | |
public BlockDto (PositionDto _Position, float _SpawnTime, int _Type) : base (_Position, _SpawnTime) | |
{ | |
Type = _Type; | |
} |
OlderNewer