Skip to content

Instantly share code, notes, and snippets.

@FronkonGames
FronkonGames / TinyTween.cs
Created October 30, 2022 23:20
A Complete and Easy to use Tweens library in One File.
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// _____ _ _____
// |_ _|_|___ _ _ |_ _|_ _ _ ___ ___ ___
// | | | | | | | | | | | | | -_| -_| |
// |_| |_|_|_|_ | |_| |_____|___|___|_|_|
// |___|
// A Complete and Easy to use Tweens library in One File
//
// Basic use:
/// <summary>
/// Displays an Embed with every possible option.
/// </summary>
/// <returns></returns>
[Command("embed")]
[Summary("Displays an Embed.")]
public async Task<RuntimeResult> Embed()
{
Color pink = new Color(255, 0, 255);
@dxball
dxball / Gradient.cs
Created August 10, 2018 06:37
Unity UI Text Gradient effect
using System.Collections.Generic;
/// <summary>
/// Modified Gradient effect script from http://answers.unity3d.com/questions/1086415/gradient-text-in-unity-522-basevertexeffect-is-obs.html
/// -Uses Unity's Gradient class to define the color
/// -Offset is now limited to -1,1
/// -Multiple color blend modes
///
/// Remember that the colors are applied per-vertex so if you have multiple points on your gradient where the color changes and there aren't enough vertices, you won't see all of the colors.
/// </summary>
@robertwahler
robertwahler / FileIO.jslib
Created April 12, 2018 13:08
UnityEngine.PlayerPrefs wrapper for WebGL LocalStorage
var FileIO = {
SaveToLocalStorage : function(key, data) {
localStorage.setItem(Pointer_stringify(key), Pointer_stringify(data));
},
LoadFromLocalStorage : function(key) {
var returnStr = localStorage.getItem(Pointer_stringify(key));
var bufferSize = lengthBytesUTF8(returnStr) + 1;
var buffer = _malloc(bufferSize);

?:

  • GetBoard
  • GetGame
  • GetScripts

ValueBar:

  • AddEvent
  • GetMax
  • GetValue
package com.robinhood.api.retrofit;
import com.robinhood.models.PaginatedResult;
import com.robinhood.models.api.AcatsBrokerage;
import com.robinhood.models.api.AcatsRequest;
import com.robinhood.models.api.AchBank;
import com.robinhood.models.api.AchVerificationRequest;
import com.robinhood.models.api.ApiAcatsTransfer;
import com.robinhood.models.api.ApiAchRelationship;
import com.robinhood.models.api.ApiAchTransfer;
@Grogal
Grogal / TinyTween.cs
Created April 16, 2017 15:33
A single file tween library in C# with support built in for XNA and Unity data types. MIT License.
// TinyTween.cs
//
// Copyright (c) 2013 Nick Gravelyn
//
// 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
// furnished to do so, subject to the following conditions:
//