예제 #1
0
    void Start()
    {
        Debug.Log("Meters.Start() called");

        // Fire
        _firePoints.color = _normalColor;
        _firePoints.text  = "Roll out";

        // Water
        _waterPoints.color = _normalColor;
        _waterPoints.text  = "Roll out";

        // Earth
        _earthPoints.color = _normalColor;
        _earthPoints.text  = "Roll out";

        // Air
        _airPoints.color = _normalColor;
        _airPoints.text  = "Roll out";

        _meterVotes       = GameObject.Find("MeterVotes").GetComponent <Text>();
        _meterVotes.color = _normalColor;
        _meterVotes.text  = "";

        _inputVoteCollector = GameObject.Find("game_manager").GetComponent <InputVoteCollector>();
    }