Ejemplo n.º 1
0
    public void Awake ()
    {
        CharacterCreateController = GetComponent<CharacterCreateController> ();

        PC = GameObject.Find ("PC Packet").GetComponent<Character> ();        
        
        ClassDescriptorLabel = GameObject.Find ("Class Descriptor")
            .GetComponent<UILabel> ();

        RerollCounter = GameObject.Find ("Remaining Rerolls: Value")
            .GetComponent<UILabel> ();

        LabelSTR = GameObject.Find ("STR: Value")
            .GetComponent<UILabel> ();
        LabelFRT = GameObject.Find ("FRT: Value")
            .GetComponent<UILabel> ();
        LabelDEX = GameObject.Find ("DEX: Value")
            .GetComponent<UILabel> ();

    }
Ejemplo n.º 2
0
 void Awake()
 {
     Controller = new CharacterCreateController(this);
 }
Ejemplo n.º 3
0
 void Update()
 {
     CharacterListController.Update();
     CharacterCreateController.Update();
     ChatController.Update();
 }
Ejemplo n.º 4
0
 void Start()
 {
     CharacterListController   = new CharacterListController(this);
     CharacterCreateController = new CharacterCreateController(this);
     ChatController            = new ChatHandler(this);
 }