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
new ModuleFederationPlugin({ | |
name: "app1", | |
library: { type: "var", name: "app1" }, | |
filename: "remoteEntry.js", | |
exposes: { | |
"./Widget": "./src/Widget", | |
}, | |
shared: { | |
react: { | |
import: "react", |
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
const HtmlWebPackPlugin = require('html-webpack-plugin'); | |
const MiniCssExtractPlugin = require('mini-css-extract-plugin'); | |
const htmlWebpackPlugin = new HtmlWebPackPlugin({ | |
template: './public/index.html', | |
filename: './index.html' | |
}); | |
module.exports = { | |
entry: { |
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 System.Collections; | |
using System.Collections.Generic; | |
public class MoveInfo { | |
public Vector3 startLocation; | |
public Vector3 toLocation; | |
public Utils.CallBack moveCallback; |
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 System.Collections; | |
using System; | |
public static class Extensions | |
{ | |
// | |
// MonoBehaviour |
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 System.Collections; | |
using System.Collections.Generic; | |
public class GameSystem : MonoBehaviour { | |
void Start() | |
{ | |
//Always call the init function first to use SoundsManager component | |
SoundsManager.init(); |
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 System.Collections.Generic; | |
using UnityEditor; | |
using System.IO; | |
internal class CreateDefaultFolders | |
{ | |
[MenuItem("Custom/Create Default Folders")] | |
private static void CreateFolders() | |
{ |
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.Collections.Generic; | |
#if UNITY_EDITOR | |
using System.Reflection; | |
using System.Linq; | |
#endif | |
public static class Extensions | |
{ | |
#region float |
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
// including plugins | |
var gulp = require('gulp'); | |
var jshint = require('gulp-jshint'); | |
var uglify = require('gulp-uglify'); | |
var less = require('gulp-less'); | |
var concat = require('gulp-concat'); | |
var rename = require('gulp-rename'); | |
var header = require('gulp-header'); | |
var minifyCSS = require('gulp-minify-css'); | |
var tinypng = require('gulp-tinypng-compress'); |
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
# ------------------------------------------------------------------------------ | |
# | |
# Curtousy of the Magento Support Center | |
# http://magentosupport.help/what-are-expires-headers-and-how-do-i-implement-them/ | |
# | |
# ------------------------------------------------------------------------------ | |
# ------------------------------------------------------------------------------ | |
# | Mod Caching via Apache | |
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
sing UnityEngine; | |
using System; | |
using System.Collections; | |
public class RaycastTest : MonoBehaviour | |
{ | |
public float gravity = 30f; | |
private BoxCollider2D colliders; | |
private Vector3 size; |
NewerOlder