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 9217687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T02:41:17+00:00 2026-06-18T02:41:17+00:00

This is more of a thought then a problem but I was wondering something.

  • 0

This is more of a thought then a problem but I was wondering something. Consider a map class and a robot class. Now I’d like to take some of the values from the map to use with the robot e.g. tileSize but I don’t need the rest of the object. Is it possible to pass values from objects in the editor without having to pass the entire object?

Cheers

  • 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-18T02:41:18+00:00Added an answer on June 18, 2026 at 2:41 am

    You can do two things that i can think of depending if you are going to have more than one map object or not.

    you could keep a static list or static field of the map object and then have a static variable that pulls the info from the object

     class Map{
        static Map map;
        public static Map Mapvariable {get{return map.variable;}}
    
         void Start(){
               map = this;
         }
     }
    

    then all you have to do to get it is

     Map.Mapvariable
    

    and same concept for the list just have a name or id that you can use to identify witch map

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

Sidebar

Related Questions

I thought I'd find more about this topic but I didn't. I have to
This is perhaps more of a discussion question, but I thought stackoverflow could be
This has been bugging me for more than two days now, so i thought
I thought I have seen this somewhere but can't find it any more on
I know that snapshot isolation would fix this problem, but I'm wondering if NOLOCK
This is for uni homework, but I reckon it is more a generic problem
I've been wondering about this one for a while now, so I thought it
UPDATE: I've been playing around with this more, and it seems like tmux's clear-history
I am wondering if there is a way to handle this more elegantly. After
I guess this could be a common problem for new android developer like myself

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.