Пример #1
0
        bool TryGetActorParams(ref IScriptRegistrationParams registrationParams, Type type)
        {
            var actorRegistrationParams = new ActorRegistrationParams();

            registrationParams = actorRegistrationParams;

            return true;
        }
Пример #2
0
        ActorRegistrationParams TryGetActorParams(Type type, ScriptType scriptType)
        {
            var registrationParams = new ActorRegistrationParams();

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

            return registrationParams;
        }