bool TryGetActorParams(ref IScriptRegistrationParams registrationParams, Type type) { var actorRegistrationParams = new ActorRegistrationParams(); registrationParams = actorRegistrationParams; return true; }
ActorRegistrationParams TryGetActorParams(Type type, ScriptType scriptType) { var registrationParams = new ActorRegistrationParams(); registrationParams.isAI = (scriptType & ScriptType.AIActor) == ScriptType.AIActor; return registrationParams; }