void OnCollisionEnter2D(Collision2D aCollision)
 {
     if (aCollision.gameObject.tag == BulletTag || aCollision.gameObject.tag == EnemyTag)
     {
         CameraAnimation.Shake();
         if (mCanDie)
         {
             GameManagerSC.GoToGameState(GameManagerSC.GameState.NotPlaying);
         }
     }
 }
    void Start()
    {
        Camera         = GameObject.Find("Main Camera");
        mCameraManager = GameObject.Find("GameManager").GetComponent <GameManagerSC>();

        if (Camera == null || mCameraManager == null)
        {
            Debug.Log("CameraAnimationSC has a nullpointer reference");
        }

        originalPos = Camera.transform.localPosition;
    }
    void Awake()
    {
        Random.InitState((int)Time.time);

        if (GmRegerence != null)
        {
            GameObject.Destroy(GmRegerence);
        }
        else
        {
            mGmReference = this;
        }
    }