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