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
using UnityEditor; | |
using UnityEngine; | |
public class ToolMenu { | |
[MenuItem("Tool/Hello World")] | |
static void Hello() | |
{ | |
Debug.Log("hello, world"); | |
} |
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
3. ユーザーは、本サービスを利用するに際し、以下のような本サービス利用上不適切な行為を行ってはなりません。 | |
(1)宣伝や商用を目的とした広告・勧誘その他の行為。ただし、当社が本サービス上で別途定める場合はその限りではありません。 |
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
Assertion failed on expression: 'device.IsInsideFrame()' |
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
failed to sync this branch. | |
You might need to open a shell and debug the state of this repo. | |
OPEN SHELL CANCELL |
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
/// <summary> | |
/// タイル番号を先頭から順にカンマ区切りで並べる | |
/// [区画番号0~2] | |
/// </summary> | |
[Multiline(10)] | |
[Tooltip("タイル番号を先頭から順にカンマ区切りで並べる")] | |
public string[] tileNumberCsv = new string[] { "0,1,2,3", "0,4,5,6", "0,7,8,9" }; | |
/// <summary> | |
/// タイル番号を先頭から順に並べる | |
/// [区画][タイルの配列] |
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
.ogg=音声ファイル |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<map version="1.0" orientation="orthogonal" renderorder="right-down" width="30" height="51" tilewidth="32" tileheight="32" nextobjectid="3"> | |
<tileset firstgid="1" name="各種詰め合わせ" tilewidth="32" tileheight="32" tilecount="1024" columns="32"> | |
<image source="../画像/Stage_32x32.png" trans="000000" width="1024" height="1024"/> | |
</tileset> | |
<layer name="グリッド" width="30" height="51"> | |
<data encoding="csv"> | |
3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3, | |
3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3, | |
3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3, |
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
// カメラは移動する | |
float range = Time.deltaTime * pixelsPerFrame_scroll; | |
//Debug.Log("カメラ range="+ range); | |
newPosition.Set(transform_camera.position.x, transform_camera.position.y + range, transform_camera.position.z); | |
transform_camera.position = newPosition; |
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
/// <summary> | |
/// うそ枠 | |
/// </summary> | |
GameObject usoFrame; | |
// Use this for initialization | |
void Start () { | |
usoFrame = GameObject.Find("UsoFrame"); | |
} |
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
int y2 = y_src + height_srcDst; | |
for (int y=y_src; y<y2; y++) | |
{ | |
Array.Copy(tile.pixels_cache, Common.pixels_horizontal, width_srcDst); | |
texture_dst.SetPixels(x_dst, y, width_srcDst, 1, Common.pixels_horizontal, ★長さは? ); | |
} |