Exemplo n.º 1
0
        protected virtual void GraAddDimCameraMaskAlpha(float time)
        {
            BattleFieldDimCamera fieldDimCamera = BattleTaskManager.GetBattleCameras().fieldDimCamera;

            if (time == 0f)
            {
                fieldDimCamera.maskAlpha = 0.75f;
            }
            else
            {
                fieldDimCamera.SetMaskPlaneAlpha(0f, 0.75f, time);
            }
        }
Exemplo n.º 2
0
        protected virtual void GraSubDimCameraMaskAlpha(float time)
        {
            BattleFieldDimCamera fieldDimCamera = BattleTaskManager.GetBattleCameras().fieldDimCamera;

            fieldDimCamera.SetMaskPlaneAlpha(0.75f, 0f, time);
        }