public void Init()
 {
     setUp = this.GetComponent<GameJamCharacterSetUp>();
     color = setUp.gjColor;
     setLayerInCamera(color);
 }
    public void Setup()
    {
        //setup is use for diverse Network Related sync
        m_Setup = m_Instance.GetComponent<GameJamCharacterSetUp>();
        m_Setup.m_Color = m_PlayerColor;
        m_Setup.m_PlayerName = m_PlayerName;
        m_Setup.m_PlayerNumber = m_PlayerNumber;
        m_Setup.m_LocalID = m_LocalPlayerID;
        m_Setup.gjColor = GameJamColorsExtentions.ColorToEnum(m_PlayerColor);

        return;
        // Get references to the components.
        m_Movement = m_Instance.GetComponent<TankMovement>();
        m_Shooting = m_Instance.GetComponent<TankShooting>();
        m_Health = m_Instance.GetComponent<TankHealth>();

        // Get references to the child objects.
        m_TankRenderers = m_Health.m_TankRenderers;

        //Set a reference to that amanger in the health script, to disable control when dying
        //m_Health.m_Manager = this;

        // Set the player numbers to be consistent across the scripts.
        m_Movement.m_PlayerNumber = m_PlayerNumber;
        m_Movement.m_LocalID = m_LocalPlayerID;

        m_Shooting.m_PlayerNumber = m_PlayerNumber;
        m_Shooting.m_localID = m_LocalPlayerID;
    }