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; | |
using UnityEngine.SceneManagement; | |
using System.Collections; | |
using DG.Tweening; | |
using UnityEngine.UI; | |
/* | |
UnityAction<Scene, Scene> activeSceneChanged; | |
UnityAction<Scene, LoadSceneMode> sceneLoaded; | |
UnityAction<Scene> sceneUnloaded; |
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
#define ENABLE_LOGGING | |
using System.Diagnostics; | |
public class KidpediaDebug { | |
[Conditional("ENABLE_LOGGING")] | |
public static void Log (string m) { | |
//UnityEngine.Debug.LogWarning(...); | |
} |
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
#include <string> | |
using namespace std; | |
#include "PaceCalculator.h" | |
double PaceCalculator::convertToMPH (double kph) { | |
return kph / KILOS_IN_MILE; | |
} |
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
#include <iostream> | |
#include <string> | |
#include <vector> | |
using namespace std; | |
#include "IceCream.h" | |
iceCream::iceCream() { | |
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; | |
using UnityEngine.EventSystems; | |
public class GraphicForLetters : MonoBehaviour, IPointerClickHandler, IPointerDownHandler, IPointerUpHandler { | |
void Awake () { | |
SpriteRenderer spriteRenderer = GetComponent<SpriteRenderer>(); | |
spriteRenderer.sortingOrder = 3; | |
} |
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 List<GenericMenuOptions> _sceneButtons; | |
public bool _isMenuExposed = false; | |
public const float MENU_ICON_HEIGHT = 81.7f; | |
public const float GEAR_ROTATION_AMOUNT = -120f; | |
public const float GEAR_ROTATION_LENGTH = 0.5f; | |
Vector2 _gearIconPos = new Vector2(45f, -50.85f); | |
Vector2 _iconSize = new Vector2(70f, 81.7f); | |
Vector2 _pivot = new Vector2(0.5f, 0.5f); | |
Sequence _menuExposer; |
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; | |
using UnityEngine.EventSystems; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine.UI; | |
public delegate void LetterDelegate (int letterInt); | |
public class BigLettersController : MonoBehaviour { |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#define URL_PROMPT "URL:" | |
#define MAX_BUFFER 256000 | |
char *addressFinder(const char *sPtr, const char *word); | |
int instanceCounter(const char *ptr, const char *w); | |
void printPointerDifference(const char *p1, const char *p2, int diff); |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#define MAX_BUFFER 3 // Set > 4 if need a diamond taller than 99. | |
#define CHARACTER '*' | |
#define SPACER ' ' | |
int main(void) { | |
int centerOfDiamond; | |
int loopCycles; |
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
#import <UIKit/UIKit.h> | |
#import "BBHHistoryTableView.h" | |
#import "SingletonClass.h" | |
@interface BBHHistoryViewController : UIViewController <UITableViewDelegate, UITableViewDataSource> | |
{ | |
BBHHistoryTableView *historyTableView; |