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 UnityEngine; | |
using System.Collections; | |
public class DevCamera : MonoBehaviour { | |
[SerializeField] private Transform _camera; | |
[SerializeField] private Transform _cameraContainer; | |
[SerializeField] private Vector3 velocity = Vector3.one; | |
[SerializeField] private float rotateVelocity = 1f; | |
[SerializeField] private float tween = 0.05f; |
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 UnityEngine; | |
using System.Collections; | |
using System; | |
namespace KappaLab | |
{ | |
[Serializable] | |
public class PositionData | |
{ | |
public string name; |
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 UnityEngine; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace KappaLab.Logger | |
{ | |
/// <summary> | |
/// Logger. | |
/// UnityEngine.Logger とバッティングするのであえてこの名前 |
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
Bad | |
--- | |
string m_text; | |
public void SetText(string text){ | |
m_text = text; | |
} | |
public void GetText{ | |
get { | |
retrun m_text; |
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 UnityEngine; | |
using UnityEngine.UI; | |
using System.Collections; | |
using UniRx; | |
public class UniRxLearning : MonoBehaviour | |
{ | |
[SerializeField]private Text text; | |
[SerializeField]private Button button; | |
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 UnityEngine; | |
using UnityEngine.UI; | |
using DG.Tweening; | |
using System.Collections.Generic; | |
namespace Y3.View | |
{ | |
public class FillProgressBar : BaseProgressBar | |
{ | |
[SerializeField] |
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
// https://dartpad.dartlang.org/ab8a68a8f4ead711d6d5ad81f62f4831 | |
// https://gist.github.com/kappa-lab/ab8a68a8f4ead711d6d5ad81f62f4831 | |
void main(){ | |
print('hello dart'); | |
} |
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
//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('-----------'); |
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
import 'dart:math'; | |
import 'dart:async'; | |
void main(){ | |
//DontWaitChargeAndRun(); | |
WaitChargeAndRun(); | |
} | |
void DontWaitChargeAndWlak (){ | |
var r = LazyRunner(); |
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
<div> Animation Sample </div> | |
<div> | |
<canvas id="canvas" width="300" height="300"></canvas> | |
</div> |
OlderNewer