protected BaseGameComponent(BaseGameComponentSettings settings, IWorldCoreGameComponentContext worldContext) { _instanceId = settings.InstanceId; worldContext.AddGameComponent(this); _worldContext = worldContext; _invokerInMainThread = worldContext.InvokerInMainThread; _logger = _worldContext.CreateLogger(settings.Id); }
public InvocableInMainThreadObj(Func <TResult> function, IInvokerInMainThread invokingInMainThread) { _function = function; _invokingInMainThread = invokingInMainThread; }
public InvocableInMainThread(Action function, IInvokerInMainThread invokingInMainThread) { _function = function; _invokingInMainThread = invokingInMainThread; }
public EndPointActivator(IEntityLogger logger, IPlatformTypesConvertorsRegistry platformTypesConvertorsRegistry, IInvokerInMainThread invokingInMainThread) : base(logger) { _platformTypesConvertorsRegistry = platformTypesConvertorsRegistry; _invokingInMainThread = invokingInMainThread; }