Example #1
0
 void Awake()
 {
     this.appManager = GameObject.FindGameObjectWithTag("Player").GetComponent<ApplicationManager>();
     this.messageControllObj = GameObject.FindGameObjectWithTag("MWindow");
     this.controlls = messageControllObj.GetComponent<MessageController>();
     this.input = this.gameObject.GetComponent<InputField>();
 }
Example #2
0
 void Awake()
 {
     this.appManager = GameObject.FindGameObjectWithTag("Player").GetComponent<ApplicationManager>();
     this.mSender = GameObject.FindGameObjectWithTag("MSender").GetComponent<SendMessage>();
     parrent = transform.parent.gameObject;
     this.messageObj = parrent.GetComponent<MessageManager>();
     this.id = messageObj.Id;
 }
Example #3
0
        // Use this for initialization
        void Awake()
        {
            this.appManager = GameObject.FindGameObjectWithTag("Player").GetComponent<ApplicationManager>();
            this.accessToken = this.appManager.Token;

            this.GenerateUsers(this.GetUsersFromSercer());
            this.currentTime = 0;
            this.intervalTime = 0.5f;
        }
Example #4
0
        void Awake()
        {
            if (instance == null)
            {
                instance = this;
            }
            else if (instance != this)
            {
                Destroy(gameObject);
            }
            this.messages = new List<MessageTemplate>();
            DontDestroyOnLoad(gameObject);

            this.currentTime = 0;
            this.intervalTime = 0.5f;
        }
Example #5
0
 // Use this for initialization
 void Start()
 {
     this.appManger = GameObject.FindGameObjectWithTag("Player").GetComponent<ApplicationManager>();
     this.text = this.gameObject.GetComponentInChildren<Text>();
 }
Example #6
0
 void Awake()
 {
     this.appManger = GameObject.FindGameObjectWithTag("Player").GetComponent<ApplicationManager>();
     this.lastMessages = new List<MessageTemplate>();
 }