void Awake()
    {
        m_HomePosition = transform.position;

        SetTeamColor(Team);

        if (Team == Team.Blue)
        {
            BlueFlag = this;
        }
        else
        {
            RedFlag = this;
        }
    }
Exemple #2
0
	void Awake()
	{
		m_HomePosition = transform.position;

		SetTeamColor( Team );

		if( Team == Team.Blue )
		{
			BlueFlag = this;
		}
		else
		{
			RedFlag = this;
		}
	}