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 void Step() | |
{ | |
float dx2 = position.x - orbitParent.position.x; | |
dx2 *= dx2; | |
var time = Time.deltaTime; | |
float dy2 = position.y - orbitParent.position.y; | |
dy2 *= dy2; | |
var r2 = dx2 + dy2; |
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
I can't assure you such things. | |
Caramels are the best. | |
Hasn't your sister asked you that? | |
Peter's boyfriend just got a new job. | |
My dream is to see a polar bear. | |
There were monkeys all over the temple. | |
Last time I was in Australia Anne was in diapers. | |
My uncle is from Brazil and he is a data scientist. | |
Your favorite band has a female singer. | |
Grocery shops have never been so expensive. |
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
// >>>>>>>>>>>>Player Controller.cs<<<<<<<<<< | |
//... | |
public void BoostSpeed(float duration, float factor){ | |
StartCoroutine (BoostCoroutine(duration,factor)); | |
} | |
private IEnumerator BoostCoroutine(float duration, float factor){ | |
boostFactor *= factor; |
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
//FreeCodeCamp solution by Thiago Sposito | |
/// ###################### STEAMROLER ##################################### | |
function steamrollArray(arr) { | |
// I'm a steamroller, baby | |
var result = []; | |
recursiveDigger(arr); | |
return result; |
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; | |
using System.Collections.Generic; | |
public class CheckWord : MonoBehaviour { | |
public string testSpeach = "Gire para a direita"; // texto de teste | |
public List<string> actions; //lista com as ações que podem ser usadas | |
void Update () { |