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
public static class Vector234Extensions | |
{ | |
// Vector2 | |
public static Vector2 SetX(this Vector2 aVec, float aXValue) | |
{ | |
aVec.x = aXValue; | |
return aVec; | |
} | |
public static Vector2 SetY(this Vector2 aVec, float aYValue) | |
{ |
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; | |
namespace Utilities | |
{ | |
/// <summary> | |
/// Singleton class | |
/// </summary> | |
/// <typeparam name="T">Type of the singleton</typeparam> | |
public abstract class Singleton<T> : MonoBehaviour where T : Singleton<T> | |
{ |
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 System.Reflection; | |
using System.Runtime.CompilerServices; | |
using System.Runtime.InteropServices; | |
using Android.App; | |
// General Information about an assembly is controlled through the following | |
// set of attributes. Change these attribute values to modify the information | |
// associated with an assembly. | |
[assembly: AssemblyTitle("AppName.Droid")] | |
[assembly: AssemblyDescription("")] |