Пример #1
0
    /********************************************************************************************/
    /************************************* Initialization ***************************************/
    /********************************************************************************************/

    // Use this for initialization
    void Start()
    {
        // Get the instance of Combat Tracker to switch turns and stuff
        combat     = combat.GetComponent <CombatTracker> ();
        TR         = GetComponent <Transform> ();
        battlemenu = battlemenu.GetComponent <BattleMenu>();
    }
Пример #2
0
    /********************************************************************************************/
    /**************************************** Initialization ************************************/
    /********************************************************************************************/

    // Use this for initialization
    void Start()
    {
        // Initialize the Buttons
        Attack  = Attack.GetComponent <Button> ();
        Special = Special.GetComponent <Button> ();
        Item    = Item.GetComponent <Button> ();
        Run     = Run.GetComponent <Button> ();
        // Get the instance of Combat Tracker to switch turns and stuff
        combat = combat.GetComponent <CombatTracker> ();
    }