Exemplo n.º 1
0
        public static EntityCharacteristics alloc(ref EntityCharacteristicsData p_entityCharacteristicsData)
        {
            EntityCharacteristics l_instance = new EntityCharacteristics();

            l_instance.EntityCharacteristicsData = p_entityCharacteristicsData;
            return(l_instance);
        }
Exemplo n.º 2
0
        public override void Initialize(Entity p_entity, RuntimeObjectRootComponent p_runtimeObjectRootComponent)
        {
            EntityCharacteristics l_entityCharacterstics = EntityCharacteristics.alloc(ref EntityCharacteristicsData);

            EntityComponent.add_component <EntityCharacteristics>(p_entity, l_entityCharacterstics);
        }