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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
namespace Fiftytwo | |
{ | |
public static class TransformAllChildren | |
{ | |
public static IEnumerable<Transform> AllChildren ( this Transform t ) |
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
public static class CompleteKeyCodesList | |
{ | |
public const int MaxJoysticksCount = 16; | |
public const int MaxJoystickButtonsCount = 20; | |
public readonly static string[] KeyboardCodes = | |
{ | |
"backspace", | |
"delete", | |
"tab", |
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; | |
namespace Fiftytwo | |
{ | |
public class App : MonoBehaviour | |
{ | |
public static App Instance; | |
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)] | |
private static void RuntimeInitializeOnLoad() |
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.Reflection; | |
using UnityEditor; | |
namespace Fiftytwo | |
{ | |
[InitializeOnLoad] | |
public class TouchPreloadedAssets | |
{ | |
static TouchPreloadedAssets() | |
{ |
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; | |
namespace Fiftytwo | |
{ | |
[CreateAssetMenu] | |
public class AppSettings : ScriptableObject | |
{ | |
public static AppSettings Instance; | |
public App AppPrefab; |
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
<?xml version="1.0" encoding="utf-8"?> | |
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> | |
<background android:drawable="@drawable/ic_launcher_background"/> | |
<foreground android:drawable="@drawable/ic_launcher_foreground"/> | |
</adaptive-icon> |