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.Reflection; | |
using UnityEditor; | |
using UnityEngine; | |
public static class Docker | |
{ | |
public enum DockPosition | |
{ | |
Left, |
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
#include "MemoryPool.h" | |
namespace GX | |
{ | |
#define GX_ENABLE_MEMORY_POOL | |
U8* MemoryPoolAllocator::allocImpl(U32 size) | |
{ | |
U8* result = nullptr; |
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
#ifndef GX_MEMORYPOOL_H | |
#define GX_MEMORYPOOL_H | |
#include "Thread.h" | |
#define GX_ENABLE_MEMORYPOOL_STATS | |
namespace GX | |
{ | |
template<typename ValueType, typename ...ArgTypes > |
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; | |
using System.IO; | |
using System.Linq; | |
using System.Text.RegularExpressions; | |
using UnityEditor; | |
using UnityEditor.Build; | |
using UnityEditor.Rendering; | |
using UnityEngine; | |
using UnityEngine.Rendering; |
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
template<typename LambdaType, typename ReturnType, typename ... ArgTypes> | |
struct LambdaPrototype | |
{ | |
typedef LambdaType* FuncType; | |
static ReturnType invoke(lua_State* L, void* ptr, ArgTypes&& ... args) | |
{ | |
return Func != nullptr ? (*Func)(std::forward<ArgTypes>(args)...) : ReturnType(); | |
} |
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 com.actgames.fci.util; | |
import android.app.Activity; | |
import com.unity3d.player.UnityPlayer; | |
import java.lang.reflect.Method; | |
/** | |
* Created by mofei on 2018/5/11. |