Exemple #1
0
        ActorRegistrationParams TryGetActorParams(Type type, ScriptType scriptType)
        {
            var registrationParams = new ActorRegistrationParams();

            registrationParams.isAI = (scriptType & ScriptType.AIActor) == ScriptType.AIActor;

            return(registrationParams);
        }
Exemple #2
0
        bool TryGetActorParams(ref IScriptRegistrationParams registrationParams, Type type)
        {
            registrationParams = new ActorRegistrationParams();

            return(true);
        }