Results 1 to 4 of 4
  1. #1
    Sub7's Avatar
    Join Date
    Aug 2017
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0

    Unity own ingame UI

    I have created an example with ingame ui (user interface) in which you can select each game object in the game and change the parameters (position, scale, visible or not, etc.)

    Own scene:
    • example Image
      http ://i.imgur.com/Xj48psG.png (Empty place of the link)
    • example .exe


    In unity real game:

    If I want to spend with reflector/reflexil simple hello world I see no changes in the game, I have to assign it to an object right?
    How do I do this in the reflector?

    Code:
    using UnityEngine;
    using System.Collections;
    
    public class test : MonoBehaviour
    {
        
        void OnGUI()
        {
            GUIStyle style = new GUIStyle();
            GUI.Label(new Rect(100, 100, 100, 20), "<size=20><color=brown>Hallo World</color></size>", style);    }
    }
    Last edited by Hero; 08-30-2017 at 02:21 PM.

  2. #2
    TheWickedSandman's Avatar
    Join Date
    Jul 2017
    Gender
    male
    Location
    On My Hard Drive In Many Sectors
    Posts
    24
    Reputation
    10
    Thanks
    1
    My Mood
    Aggressive
    Quote Originally Posted by Sub7 View Post
    I have created an example with ingame ui (user interface) in which you can select each game object in the game and change the parameters (position, scale, visible or not, etc.)

    Own scene:
    • example Image
      http ://i.imgur.com/Xj48psG.png (Empty place of the link)
    • example .exe


    In unity real game:

    If I want to spend with reflector/reflexil simple hello world I see no changes in the game, I have to assign it to an object right?
    How do I do this in the reflector?

    Code:
    using UnityEngine;
    using System.Collections;
    
    public class test : MonoBehaviour
    {
        
        void OnGUI()
        {
            GUIStyle style = new GUIStyle();
            GUI.Label(new Rect(100, 100, 100, 20), "<size=20><color=brown>Hallo World</color></size>", style);    }
    }
    thanks for asking for my help man but I don't know alot about the unity engine to be of any help.
    Last edited by Hero; 08-30-2017 at 02:21 PM.

  3. #3
    Hero's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    memes
    Posts
    40,140
    Reputation
    4764
    Thanks
    9,683
    Please avoid posting outside download links (e.g. google drive download links) and upload using the upload system. Thanks.
    [] [] [] [][]

    Editor from 06•14•2011 • 2014
    Donator since 09•16•2011
    Minion from 10•10•2011 • 01•06•2011
    Minion+ from 01•06•2012 • 08•08•2012
    Moderator from 08•08•2012 • 10•06•2012
    Global Moderator from 10•06•2012 • 12•05•2017
    Staff Administrator from 12•05•2017 • 05•01•2019
    Trusted Member since 07•13•2019
    Global Moderator since 09•11•2020




  4. #4
    cruz922's Avatar
    Join Date
    Apr 2018
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    0
    My Mood
    Breezy
    The version of Unity you are using is quite old. If you are still working on the project kindly PM me. I can help you.

Similar Threads

  1. [Release]Unity building your own game!
    By OBrozz in forum Art & Graphic Design
    Replies: 1
    Last Post: 07-04-2011, 07:57 PM
  2. Owned =Þ
    By SimpleAs in forum Spammers Corner
    Replies: 10
    Last Post: 03-12-2011, 01:43 PM
  3. Owned.
    By Kyojiro in forum General Gaming
    Replies: 9
    Last Post: 01-15-2006, 11:50 AM
  4. Free Infantry Gets Owned By MPGH
    By Super-Man in forum General Game Hacking
    Replies: 34
    Last Post: 01-03-2006, 05:29 PM