I hereby claim:
- I am stipebosnjak on github.
- I am ohanzee (https://keybase.io/ohanzee) on keybase.
- I have a public key whose fingerprint is 5043 DB75 AD3A BBED 4C55 F12D DC5E 851C BE28 3EC4
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
using System; | |
using System.Collections.Generic; | |
namespace FlatNestedArray | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
//[ [1, 2 , [3] ] ,4 ] -> [1,2,3,4] |
using System; | |
using UnityEngine; | |
public class PlanetOrbit : MonoBehaviour | |
{ | |
public static float EARTH_DISTANCE = 4000f; | |
public static int TimeMultiplier = 200; | |
public enum Orbit | |
{ |
using System.Collections.Generic; | |
using UnityEngine; | |
namespace Assets._Scripts | |
{ | |
public class StellarObject : MonoBehaviour | |
{ | |
public const float TICK_TIME = 5f; | |
private List<Factory> Factories; |
using System.Collections.Generic; | |
using System.IO; | |
using System.Text.RegularExpressions; | |
using UnityEditor; | |
using UnityEngine; | |
public static class UnityConstantsGenerator | |
{ | |
[MenuItem("Edit/Generate UnityConstants.cs")] | |
public static void Generate() |
using UnityEngine; | |
using UnityEditor; | |
[CustomEditor(typeof(PlanetOrbit))] | |
public class PlanetOrbitEditor : Editor | |
{ | |
enum setupPlanet { Setup_Orbit, Setup_Rotation, Setup_Seasons } | |
public override void OnInspectorGUI() | |
{ |
public void GenerateCrates(int crateCount) | |
{ | |
var crateSize = Crate.GetComponent<BoxCollider>().size; | |
var bounds = SpawnBounds.bounds; | |
var maxCrates = bounds.size.x * bounds.size.z * bounds.size.y; | |
Assert.IsFalse(crateCount > maxCrates, "Cargo hold cant hold that much crates!"); | |
var bottomMin = bounds.min + crateSize / 2; |
using System.Collections.Generic; | |
using UnityEngine; | |
namespace Utils | |
{ | |
[System.Serializable] | |
public class ObjectPoolItem | |
{ | |
public GameObject objectToPool; | |
public int amountToPool; |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Runtime.InteropServices; | |
using System.Text; | |
using System.Threading; | |
using System.Threading.Tasks; | |
namespace Aoc.Puzzles |
I hereby claim:
To claim this, I am signing this object: