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
test |
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 SkipCurrentAnimation() | |
{ | |
// 現在再生中のアニメーションクリップ名を取得 | |
// もっとよい方法があれば... | |
var clipName = ""; | |
foreach(AnimationState state in this.animation) { | |
if (this.animation.IsPlaying(state.name)) { | |
clipName = state.name; | |
break; | |
} |
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 SampleHogePopupList : MonoBehaviour | |
{ | |
string keyword = "hogege"; | |
public void PopupListOnChange () { | |
string key = UIPopupList.current.value.DeleteInvisibleCharacter(); | |
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 static class GameObjectExtensions | |
{ | |
// GameObjectの子にいるGameObjectを名前で取得する | |
public static GameObject FindChild (this GameObject parent, string name) | |
{ | |
Transform child =parent.transform.Find(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
1,新規端末でゲームを開始 | |
2,データを引き継ぐには登録が必要だよ! | |
3,もう登録したつもりでログイン | |
4,作ったばかりのアカウントが登録される | |
5,本垢登録してない | |
6,本垢を登録しようとログイン | |
7,新規データで上書きされる。 | |
8,GG | |
問題: |
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.Collections.Generic; | |
using System.Linq; | |
public class CSVDataHolder<T> where T: ICSVData, new() | |
{ | |
Dictionary<string, List<T>> masterData = new Dictionary<string, List<T>>(); | |
public void Load(string filePath) | |
{ |
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 UnityEditor; | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
public class UIPanelDepthEditor: EditorWindow { | |
[MenuItem("Window/UIPanelDepthEditor")] |
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; | |
using UniRx; | |
using System.Collections.Generic; | |
[RequireComponent(typeof(UIButton))] | |
public class UIButtonLongTapComponent : ObservableMonoBehaviour | |
{ |
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 static class GameObjectExtensions | |
{ | |
public static T GetComponentInParents<T>(this Transform obj) where T : MonoBehaviour, new() | |
{ | |
Transform parent = obj.transform.parent; |
OlderNewer