This file contains hidden or 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
#!/bin/sh | |
HAXE_VERSION=3.4.2 | |
NEKO_VERSION=2.1.0 | |
if [ `uname -m` = "armv7l" ]; then | |
HAXE_VERSION=3.1.3 |
This file contains hidden or 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
# convert_materials_to_cycles.py | |
# | |
# Copyright (C) 5-mar-2012, Silvio Falcinelli. Fixes by others. | |
# | |
# special thanks to user blenderartists.org cmomoney | |
# | |
# ***** BEGIN GPL LICENSE BLOCK ***** | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License |
This file contains hidden or 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
import bpy | |
ops = bpy.ops | |
scene = bpy.context.scene | |
mesh = bpy.ops.mesh | |
# Delete default scene objects | |
ops.object.select_all() | |
ops.object.select_all() | |
ops.object.delete() |
This file contains hidden or 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; | |
using System.IO; | |
using System.Threading; | |
using UnityEngine; | |
public class OurMono : MonoBehaviour | |
{ | |
StreamWriter log; | |
Timer t; |
This file contains hidden or 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 UnityEditor; | |
using System.Collections; | |
using System.IO; | |
public static class UnityUtil | |
{ | |
public static string GetSelectedPathOrFallback() | |
{ | |
string path = "Assets"; |
This file contains hidden or 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
package amd; | |
#if macro | |
import haxe.macro.Type; | |
import haxe.macro.Expr; | |
import haxe.macro.*; | |
import haxe.ds.*; | |
using Lambda; |
This file contains hidden or 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
package ; | |
import haxe.macro.Type; | |
import haxe.macro.Expr; | |
import haxe.macro.Context; | |
class Module { | |
static function build(?module:String) { | |
function isIncluded(meta:MetaAccess) |
This file contains hidden or 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
class Module1 | |
{ | |
static function main() { | |
SharedCode.greet("Jason"); | |
} | |
} |
This file contains hidden or 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; | |
using UnityEngine; | |
using System.Collections; | |
public class AssetBundleSample : MonoBehaviour { | |
public GUIText guitext; | |
// Use this for initialization | |
void Start () { |
This file contains hidden or 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
/** | |
* Renders a lighting mask which can be added to the display list via Bitmap. | |
* @author Sam MacPherson | |
*/ | |
package as3gl.lighting; | |
import as3gl.core.Destroyable; | |
import as3gl.core.Runnable; | |
import as3gl.display.Batcher; |