Skip to content

Instantly share code, notes, and snippets.

@M-Pixel
M-Pixel / MaterialExpressionMaterialFunctionCall.cs
Created June 7, 2018 15:55
MaterialExpressionMaterialFunctionCall bindings with WITH_EDITOR
using System;
using System.Runtime.InteropServices;
using UnrealEngine.Runtime;
namespace UnrealEngine.Engine
{
[UClass(UserClassFlags.NativeBindingsClass), UMetaData("HideCategories", "object Object"), UMetaData("IncludePath", "Materials/MaterialExpressionMaterialFunctionCall.h"), UMetaData("ModuleRelativePath", "Classes/Materials/MaterialExpressionMaterialFunctionCall.h")]
public partial class MaterialExpressionMaterialFunctionCall : UnrealEngine.Engine.MaterialExpression
{
@M-Pixel
M-Pixel / Actor.cs
Created June 7, 2018 15:52
Actor bindings with WITH_EDITOR
using System;
using System.Runtime.InteropServices;
using UnrealEngine.Runtime;
namespace UnrealEngine.Engine
{
/// <summary>
/// Actor is the base class for an Object that can be placed or spawned in a level.
/// Actors may contain a collection of ActorComponents, which can be used to control how actors move, how they are rendered, etc.

Keybase proof

I hereby claim:

  • I am m-pixel on github.
  • I am m_pixel (https://keybase.io/m_pixel) on keybase.
  • I have a public key ASAyU-PEXFFJPq0-som4FgWIjpOMxnrVAc8uCzq4vHNc0Ao

To claim this, I am signing this object:

@M-Pixel
M-Pixel / Rotate.cs
Created August 24, 2014 23:39
Unity 3D Rotate
using UnityEngine;
public class Rotate : MonoBehaviour {
public Vector3 rotationSpeed;
void Update()
{
transform.Rotate(rotationSpeed * Time.deltaTime);
}
}
@M-Pixel
M-Pixel / Open in Unity.bat
Created July 30, 2014 23:58
Windows script that opens a Unity 3D project when the project folder is dragged onto it. Useful if you don't want to wait for Unity to load the previous project you had open.
start "" "C:\Program Files (x86)\Unity\Editor\Unity.exe" -projectPath %1
@M-Pixel
M-Pixel / New Unity Project from folder.bat
Created July 30, 2014 23:54
Windows script that creates a new Unity 3D project in whatever folder is dragged onto it, starting Unity in the process.
start "" "C:\Program Files (x86)\Unity\Editor\Unity.exe" -createProject %1
@M-Pixel
M-Pixel / cycle_test.coffee
Created July 16, 2014 23:32
Testing out cycle.js
# Use case for cycle.js
#
# Dependencies:
# "cycle": "~1.0.3"
#
cycle = require 'cycle'
storage =
hats: [
{