This file contains hidden or 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 UnityEngine; | |
| using UnityEditor; | |
| using System; | |
| public class TestWindow : EditorWindow { | |
| // Serializableの物(public or SerializeField)がUndo対象. | |
| [SerializeField] string testText; | |
| // うぃんど~ひらくよ~ | |
| [MenuItem("Window/TestWindow")] |
This file contains hidden or 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
| import sys.db.Types; | |
| class User extends sys.db.Object { | |
| public var id : SId; | |
| public var name : SString<32>; | |
| public var birthday : SDate; | |
| public var phoneNumber : SNull<SText>; | |
| } | |
| class OrmTest { |
This file contains hidden or 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
| $ -> | |
| if not "WebSocket" in window | |
| alert "WebSocket NOT supported by your Browser!" | |
| return | |
| #-----ここからライブラリでやる----- | |
| METHOD_IDS = { | |
| 'chatStoC' : 100, | |
| 'chatCtoS' : 200 | |
| } |
This file contains hidden or 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
| $ -> | |
| if not "WebSocket" in window | |
| alert "WebSocket NOT supported by your Browser!" | |
| return | |
| #-----ここからライブラリでやる----- | |
| METHOD_IDS = { | |
| 'chatStoC' : 100, | |
| 'chatCtoS' : 200 | |
| } |
This file contains hidden or 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
| hogehoge |
NewerOlder