Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

accessing variebles every frame

Discussion in 'Scripting' started by isse26, Apr 19, 2014.

  1. isse26

    isse26

    Joined:
    Dec 8, 2013
    Posts:
    30
    Hi.
    I need to create some variables that I can change and be accessed every frame. Were would I place that script and what is the best way of accessing it (effective way without draining resources). Please help.
     
  2. Dantus

    Dantus

    Joined:
    Oct 21, 2009
    Posts:
    5,667
    This is not meant to be offensive!
    I assume you don't know how to code yet. If you knew just a little bit how to script in Unity, it would be straight forward. If you know how to code, consider to formulate a little clearer what you want to achieve and why you can't just use a variable.
     
  3. TournyMasterBot

    TournyMasterBot

    Joined:
    Sep 8, 2013
    Posts:
    13