Exemplo n.º 1
0
        public override void Init()
        {
            weaponOscilation = 0;
            FIRE_DELAY       = 0;
            MAX_DELAY        = 2;
            weaponSound      = new TgcStaticSound();
            muzzle           = new MuzzleFlash();
            muzzle.crearMuzzle();

            //Permitir matrices custom
            mesh.AutoTransformEnable = false;

            currentShader = GuiController.Instance.Shaders.TgcMeshPointLightShader;
        }
Exemplo n.º 2
0
        public override void Init()
        {
            weaponOscilation = 0;
            FIRE_DELAY = 0;
            MAX_DELAY = 2;
            weaponSound = new TgcStaticSound();
            muzzle = new MuzzleFlash();
            muzzle.crearMuzzle();

            //Permitir matrices custom
            mesh.AutoTransformEnable = false;

            currentShader = GuiController.Instance.Shaders.TgcMeshPointLightShader;
        }