public static T Instantiate <T>(T original, UnityEmulator onEmulator = null, Action <ComponentInitialize <T> > initialization = null) where T : MonoBehaviour, new() { var emu = onEmulator ?? UnityEmulator.Instance; return(emu.NewGameObject <T>(original, initialization)); }
public UnityEmulatorWrap(double fps = 60.0) { Emulator = new UnityEmulator(fps); }
public UnityEmulator(double fps = 60.0) { Fps = fps; _instance = this; clock = new Stopwatch(); }
public static GameObject Instantiate(UnityEmulator onEmulator = null) { var emu = onEmulator ?? UnityEmulator.Instance; return(emu.NewGameObject()); }