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.Collections; | |
using System.Collections.Generic; | |
using System.Text; | |
using UnityEngine; | |
using System.Linq; | |
public class LinqAllComparisonExample : MonoBehaviour | |
{ | |
void Start() | |
{ |
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
;;; init.el --- Satisfy flycheck | |
;;; Commentary: | |
;;; Code: | |
;;;; | |
;;;; cygwin support | |
;;;; | |
;; Sets your shell to use cygwin's bash, if Emacs finds it's running | |
;; under Windows and c:\cygwin exists. Assumes that C:\cygwin\bin is |
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 int GetHighestTier(int summonerId) | |
{ | |
var leagues = EF.RiotApi.Client.API.LeagueApi.Instance.GetLeagueBySummonerAsync(summonerId).Result; | |
int summoner1Tier = -1; | |
foreach (var league in leagues) | |
{ | |
var summoner1LeagueVar = league.Value; | |
if (summoner1LeagueVar.Tier.Contains("BRONZE")) | |
{ | |
summoner1Tier = 1; |
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 EF.RiotApi.Dto.League; | |
using EF.RiotApi.Dto.Summoner; | |
using EF.RiotApi.WebRequestResults; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace EF.RiotApi.Examples |
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
// Copyright (c) 2012 Calvin Rien | |
// http://the.darktable.com | |
// | |
// This software is provided 'as-is', without any express or implied warranty. In | |
// no event will the authors be held liable for any damages arising from the use | |
// of this software. | |
// | |
// Permission is granted to anyone to use this software for any purpose, | |
// including commercial applications, and to alter it and redistribute it freely, | |
// subject to the following restrictions: |
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 System.Collections; | |
// Destroys the game object it is attached to after the given timeframe | |
public class DsetroyAfterTime : MonoBehaviour | |
{ | |
public float DestoryAfterTime = 1.0f; | |
void Start () | |
{ |
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
// | |
// EMedia.h | |
// Extended Media | |
// | |
// Created by Elliot Franford on 1/16/12. | |
// Copyright (c) 2012 Abandon Hope Games, LLC. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
#import "SPStage.h" |