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
package jp.tangerinebox.check_is_foreground; | |
import android.app.Activity; | |
public abstract class BaseActivity extends Activity{ | |
@Override | |
protected void onStart(){ | |
super.onStart(); |
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
/** | |
NYSL Version 0.9982 (en) (Unofficial) | |
---------------------------------------- | |
A. This software is "Everyone'sWare". It means: | |
Anybody who has this software can use it as if he/she is | |
the author. | |
A-1. Freeware. No fee is required. | |
A-2. You can freely redistribute this software. | |
A-3. You can freely modify this software. And the source | |
may be used in any software with no limitation. |
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
/* | |
The MIT License(MIT) | |
Copyright(c) 2014-2015, Unity Technologies | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
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
/** | |
NYSL Version 0.9982 (en) (Unofficial) | |
---------------------------------------- | |
A. This software is "Everyone'sWare". It means: | |
Anybody who has this software can use it as if he/she is | |
the author. | |
A-1. Freeware. No fee is required. | |
A-2. You can freely redistribute this software. | |
A-3. You can freely modify this software. And the source | |
may be used in any software with no limitation. |
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
/** | |
NYSL Version 0.9982 (en) (Unofficial) | |
---------------------------------------- | |
A. This software is "Everyone'sWare". It means: | |
Anybody who has this software can use it as if he/she is | |
the author. | |
A-1. Freeware. No fee is required. | |
A-2. You can freely redistribute this software. | |
A-3. You can freely modify this software. And the source | |
may be used in any software with no limitation. |
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
/** | |
NYSL Version 0.9982 (en) (Unofficial) | |
---------------------------------------- | |
A. This software is "Everyone'sWare". It means: | |
Anybody who has this software can use it as if he/she is | |
the author. | |
A-1. Freeware. No fee is required. | |
A-2. You can freely redistribute this software. | |
A-3. You can freely modify this software. And the source |
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
/** | |
JudgeGround.cs | |
Copyright (c) 2016 Hassaku | |
This software is released under the MIT License. | |
http://opensource.org/licenses/mit-license.php | |
*/ | |
using UnityEngine; |
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 System.Collections.Generic; | |
using System.Linq; | |
public static partial class IListExtensions { | |
/// <summary> | |
/// Fisher-Yatesシャッフル の実装 | |
/// </summary> | |
public static IList<T> Shuffle<T>(this IList<T> list, RandomGenerator rgen) { | |
IList<T> target = list.ToList(); |
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 System; | |
using UnityEngine; | |
public class EnumLabelSample : MonoBehaviour{ | |
[EnumLabel(typeof(Fruit))] | |
public string[] names = new string[Enum.GetValues(typeof(Fruit)).Length]; | |
private enum Fruit { | |
Orange, |