Skip to content

Instantly share code, notes, and snippets.

Sascha Graeff FlaShG

  • Hamburg
Block or report user

Report or block FlaShG

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@FlaShG
FlaShG / Benchmark.cs
Last active Sep 16, 2019
A C# Benchmark class.
View Benchmark.cs
using System;
using System.Diagnostics;
/// <summary>
/// Simple benchmark class to measure average time consumption of code.
/// </summary>
public static class Benchmark
{
/// <summary>
/// A benchmark's time result.
@FlaShG
FlaShG / FBXAxesFixer.cs
Last active Aug 29, 2015
This AssetPostprocessor switches the Y and Z axes of imported FBX files (and everything converted to FBX from Unity).
View FBXAxesFixer.cs
using UnityEngine;
using UnityEditor;
public class FBXAxesFixer : AssetPostprocessor
{
void OnPostprocessModel(GameObject g)
{
if(assetImporter.ToString() == " (UnityEngine.FBXImporter)")
{
FixFBXImport(g.transform, 0);
You can’t perform that action at this time.