public UberEffectAsset( IKernel kernel, IAssetContentManager assetContentManager, IRawLaunchArguments rawLaunchArguments, string name, string code, PlatformData platformData, bool sourcedFromRaw) { Name = name; Code = code; PlatformData = platformData; _kernel = kernel; _assetContentManager = assetContentManager; _rawLaunchArguments = rawLaunchArguments; SourcedFromRaw = sourcedFromRaw; if (PlatformData != null) { try { ReloadEffects(); } catch (NoAssetContentManagerException) { } } }
public EffectAsset( IKernel kernel, IAssetContentManager assetContentManager, IRawLaunchArguments rawLaunchArguments, string name, byte[] effect) { _kernel = kernel; _assetContentManager = assetContentManager; _rawLaunchArguments = rawLaunchArguments; Name = name; _effect = effect; }
public UberEffectAsset( IKernel kernel, IAssetContentManager assetContentManager, IRawLaunchArguments rawLaunchArguments, string name, string code, PlatformData platformData, bool sourcedFromRaw) { Name = name; Code = code; PlatformData = platformData; _kernel = kernel; _assetContentManager = assetContentManager; _rawLaunchArguments = rawLaunchArguments; SourcedFromRaw = sourcedFromRaw; }
public ProjectManager( IRawLaunchArguments launchArguments, IConsoleHandle consoleHandle, ICoroutine coroutine, IRecentProjects recentProjects) { _coroutine = coroutine; _consoleHandle = consoleHandle; _recentProjects = recentProjects; var arguments = launchArguments.Arguments; var directoryIndex = Array.IndexOf(arguments, "--project"); if (!(directoryIndex == -1 || directoryIndex == arguments.Length - 1)) { LoadProject(arguments[directoryIndex + 1]); } }
public EffectAssetLoader(IKernel kernel, IAssetContentManager assetContentManager, IRawLaunchArguments rawLaunchArguments) { _kernel = kernel; _assetContentManager = assetContentManager; _rawLaunchArguments = rawLaunchArguments; }
public UberEffectAssetLoader(IKernel kernel, IAssetContentManager assetContentManager, IRawLaunchArguments rawLaunchArguments) { _kernel = kernel; _assetContentManager = assetContentManager; _rawLaunchArguments = rawLaunchArguments; }