Skip to content

Instantly share code, notes, and snippets.

using System;
using System.IO;
using UnityEditor;
#if UNITY_2018_1_OR_NEWER
using UnityEditor.Build.Reporting;
#endif
using HardCodeLab.RockTomate.Core.Steps;
using HardCodeLab.RockTomate.Core.Helpers;
using HardCodeLab.RockTomate.Core.Attributes;
using HardCodeLab.RockTomate.Core.Extensions;
@OscarLeif
OscarLeif / unity.gitignore
Last active April 1, 2019 01:13
Unity gitignore for Unity version 5+
# Created by OscarLeif
# Unity git ignore 2018+
*~
### Unity ###
/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild/
/[Bb]uilds/
@OscarLeif
OscarLeif / MarkUnused.cs
Created January 22, 2019 18:54 — forked from randalfien/MarkUnused.cs
Unity Mark Unused Assets
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using UnityEditor;
using UnityEngine;
public class MarkUnused
{
private const string UnusedLabel = "Unused"; // All unused assets will be tagged with this label
@OscarLeif
OscarLeif / Unity-BlenderToFBX.py
Last active September 29, 2018 03:06 — forked from Yukimituki/Unity-BlenderToFBX.py
Custom Unity-BlenderToFBX based on a version from blenderartists.org with some minor modifications
##########################################################
# Custom Blender -> Unity Pipeline
# http://www.mimimi-productions.com, 2014
# Version: 1.9.M2
# Only for Blender 2.58 and newer
#
# Thanks to kastoria, jonim8or and Freezy for their support!
# Special thanks to Sebastian hagish Dorda for implementing the sort methods.
# http://www.blenderartists.org
##########################################################
@OscarLeif
OscarLeif / Unity-BlenderToFBX.py
Created September 7, 2018 03:09 — forked from MattRix/Unity-BlenderToFBX.py
Custom Unity-BlenderToFBX based on a version from blenderartists.org with some minor modifications
##########################################################
# Custom Blender -> Unity Pipeline
# http://www.mimimi-productions.com, 2014
# Version: 1.9.M2
# Only for Blender 2.58 and newer
#
# Thanks to kastoria, jonim8or and Freezy for their support!
# Special thanks to Sebastian hagish Dorda for implementing the sort methods.
# http://www.blenderartists.org
##########################################################
@OscarLeif
OscarLeif / .gitignore
Last active July 14, 2016 16:59
Custom git ignore file in cocos2d-x 3.x projects.
# Ignore cocos2d game engine remember we need the cocos2dx game engine in order to compile
cocos2d/
# Ignore thumbnails created by windows
Thumbs.db
# Ignore files build by Visual Studio
*.obj
*.exe
*.pdb
@OscarLeif
OscarLeif / CCMotionStreak.cpp
Created December 29, 2015 19:14
MotionStreak with follow option for Cocos2d-x version 3.9
/****************************************************************************
Copyright (c) 2011 ForzeField Studios S.L.
Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2013-2014 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights