Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8745713
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:04:42+00:00 2026-06-13T12:04:42+00:00

I am working on game, that is to be developed simultaneously in Mogre(c# port

  • 0

I am working on game, that is to be developed simultaneously in Mogre(c# port of ogre) and Unity3d as well. since both uses c# i want to write a generic code that gets complied accordingly in both of those platforms. it was easy to do for unity, just by adding #if UNITY_ENGINE, but i cannot find similar #def’s for Mogre. i know it is a silly question, but still i cannot find it in Google. Could someone help me!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T12:04:42+00:00Added an answer on June 13, 2026 at 12:04 pm

    Just define your own symbol. Go to your project properties and define OGRE for the build configuration you are interested in (you can create new build configurations and name them). For example create a build config for OGRE and define an OGRE conditional symbol, and #if OGRE should work.

    (it is under project properties, build, conditional compilation symbols) Just define as many as you like separated by commas “var1, var2, var3”

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im currently working on a game that uses multi touch to apply zoom to
I'm working on a game that uses local area network. Like most of multiplayer
I am currently working on a game in c# that I want to put
I'm working on an iPhone game that uses the accelerometer for control. I don't
I'm working on a game (C#) that uses a Robocode-like programming model: participants inherit
We're working on a Javascript game that is developed and defined based on 2D
Basic summary: Working on a game that generates a 15x15 grid for the player
I'm working on a game that allows players to click on a card and
ok..so i'm working on a game that requires quite a few layers so i
I'm working on an XNA game that works on any arbitrary screen resolution (or

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.