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
namespace Fabric.Internal.Editor.View.Animation | |
{ | |
using UnityEngine; | |
using UnityEditor; | |
using System.Collections; | |
using System; | |
public class Driver | |
{ | |
private uint invocationCount = 0; |
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
private const string LatestReleaseApiURL = "https://api.github.com/repos/getsocial-im/getsocial-unity-sdk/releases/latest"; | |
private const string LatestReleaseURL = "https://github.com/getsocial-im/getsocial-unity-sdk/releases/latest"; | |
[MenuItem(GetSocialMenuParent + "GetSocial/Check for Updates...", false, priority: 2000)] | |
public static void CheckForUpdates() | |
{ | |
CheckForUpdatesOnReleaseRepo(); | |
} | |
private static void CheckForUpdatesOnReleaseRepo() |
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
#!/bin/bash | |
MAIN=develop | |
BRANCHES=$(git branch --merged $MAIN | grep -v -e 'master\|staging\|develop\|\*') | |
echo Branches merged into $MAIN: | |
echo $BRANCHES | tr " " "\n" | |
read -p "Delete these branches (y/n)? " answer |
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 JetBrains.Annotations; | |
using UnityEngine; | |
[PublicAPI] | |
public abstract class MonoSingleton<T> : MonoBehaviour where T : MonoSingleton<T> | |
{ | |
static T _instance; | |
public static T Instance | |
{ |
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; | |
public class Seek : MonoBehaviour | |
{ | |
private Transform pointer; | |
public float speed = 1.0f; | |
public float mass = 1.0f; | |
private Vector2 curVelocity; |
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
In Unity Project: | |
* Check if there are no compile errors or warnings on other platforms (Desktop e.g.) | |
* Make sure you rebuild the latest library into Unity project (.aar on Android) | |
* Test all implemented features on all Android versions (oldest and newest), different devices and emulators, on iOS test on all devices | |
* Test if old features didn't break | |
* Check if no side plugins are in the project that could be submitted (e.g. Plugins/Editor/Rider) | |
* Check if no hardcoded API keys are remaining (Google Maps, Place Picker) | |
* Update documentation | |
* Check if README.txt release notes in project are up-to-date |