protected override void Awake()
        {
            base.Awake();
            try
            {
                Pathfinder = GetComponent(typeof(IPathfinder)) as IPathfinder;
                if (Pathfinder == null)
                {
                    componentMissing = true;
                }

                Inventory = GetComponent(typeof(IInventory)) as IInventory;
                if (Inventory == null)
                {
                    componentMissing = true;
                }

                geoPosAnimator = GetComponent(typeof(IGeoPosAnimator)) as IGeoPosAnimator;
                if (geoPosAnimator == null)
                {
                    componentMissing = true;
                }
            }
            catch
            {
                componentMissing = true;
            }
            Size       = 0.0003f;
            ObjectName = "player";
        }
        void Awake()
        {
            interfaceFactory = FindObjectOfType <InterfaceFactory>();
            if (interfaceFactory == null)
            {
                gameObject.SetActive(false);
            }
            try
            {
                playerCharacter = GetComponent(typeof(IPlayerCharacter)) as IPlayerCharacter;
                if (playerCharacter == null)
                {
                    componentMissing = true;
                }

                geoPosAnimator = GetComponent(typeof(IGeoPosAnimator)) as IGeoPosAnimator;
                if (geoPosAnimator == null)
                {
                    componentMissing = true;
                }
            }
            catch
            {
                componentMissing = true;
            }
        }