Пример #1
0
    /// <summary>
    /// Adds the player to the minimap and notifies the player manager of creation
    /// </summary>
    protected override void NotifyPlayerCreation()
    {
        transform.parent.name = m_name;
        name = m_name;

        PlayerManager.AddAI(gameObject);

        base.NotifyPlayerCreation();
    }