Skip to content

Instantly share code, notes, and snippets.

View martindevans's full-sized avatar

Martin Evans martindevans

View GitHub Profile
LoadHTML(@"
<html>
<body style='font-family: Helvetica, Arial, sans-serif;'>
<h1>Awesomium Rocks!</h1>
<p>This web-page was loaded with HTML directly from within Unity3D.</p>
<h2>Environment Info</h2>
<dl>
<dt>Unity Version</dt><dd id='stat1'></dd>
<dt>Unity Platform</dt><dd id='stat2'></dd>
// .h file
#pragma once
#include "Ship_Component_Interface.generated.h"
/**
*
*/
UINTERFACE(MinimalAPI)
// .h file
#pragma once
#include "Ship_Component_Interface.generated.h"
/**
*
*/
UINTERFACE(MinimalAPI)
class UShip_Component_Interface : public UInterface
{
"mods": [
{
"name": "base",
"enabled": "true"
},
{
"name": "5dim_automatization",
"enabled": "true"
},
@martindevans
martindevans / waitForKeyElements.js
Created May 30, 2016 16:26 — forked from BrockA/waitForKeyElements.js
A utility function, for Greasemonkey scripts, that detects and handles AJAXed content.
/*--- waitForKeyElements(): A utility function, for Greasemonkey scripts,
that detects and handles AJAXed content.
Usage example:
waitForKeyElements (
"div.comments"
, commentCallbackFunction
);