/app/build.gradle
//commit hash 取得
def getCommitHasH() {
def process = "git rev-parse --short HEAD".execute()
process.waitFor()
(process.exitValue() == 0) ? process.text.trim() : ""
}
android {
/app/build.gradle
//commit hash 取得
def getCommitHasH() {
def process = "git rev-parse --short HEAD".execute()
process.waitFor()
(process.exitValue() == 0) ? process.text.trim() : ""
}
android {
import 'dart:typed_data'; | |
import 'dart:ui'; | |
class FoundationWindow { | |
static final double devicePixelRatio = window.devicePixelRatio; | |
static final Size physicalSize = window.physicalSize; | |
static final Float64List deviceTransform = new Float64List(16) | |
..[0] = window.devicePixelRatio | |
..[5] = window.devicePixelRatio | |
..[10] = 1.0 |
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Flutter", | |
"request": "launch", | |
"type": "dart", |
<div> Random </div> | |
<div> | |
<canvas id="canvas" width="300" height="300"></canvas> | |
</div> |
<div> Animation Sample </div> | |
<div> | |
<canvas id="canvas" width="300" height="300"></canvas> | |
</div> |
import 'dart:math'; | |
import 'dart:async'; | |
void main(){ | |
//DontWaitChargeAndRun(); | |
WaitChargeAndRun(); | |
} | |
void DontWaitChargeAndWlak (){ | |
var r = LazyRunner(); |
//https://gist.github.com/kappa-lab/cc7e261e310171eb8f803c937f47065e | |
//https://dartpad.dartlang.org/cc7e261e310171eb8f803c937f47065e | |
import 'dart:math'; | |
void main() { | |
Rock rockA = Rock(RockType.Granite); | |
Rock rockB = Rock(RockType.Limestone); | |
print('-----------'); |
// https://dartpad.dartlang.org/ab8a68a8f4ead711d6d5ad81f62f4831 | |
// https://gist.github.com/kappa-lab/ab8a68a8f4ead711d6d5ad81f62f4831 | |
void main(){ | |
print('hello dart'); | |
} |
using UnityEngine; | |
using UnityEngine.UI; | |
using DG.Tweening; | |
using System.Collections.Generic; | |
namespace Y3.View | |
{ | |
public class FillProgressBar : BaseProgressBar | |
{ | |
[SerializeField] |
using UnityEngine; | |
using UnityEngine.UI; | |
using System.Collections; | |
using UniRx; | |
public class UniRxLearning : MonoBehaviour | |
{ | |
[SerializeField]private Text text; | |
[SerializeField]private Button button; | |