internal override void OnDestroy()
 {
     base.OnDestroy();
     if (shakeComp != null)
     {
         shakeComp.OnDestroy();
     }
     shakeComp = null;
 }
        internal override void OnTrigger()
        {
            base.OnTrigger();

            shakeComp = Entity.AddComponent <GOEEntityShake>();
            if (shakeComp != null)
            {
                //shakeComp.realTime = mRealTime;
                shakeComp.Force        = Force;
                shakeComp.Spring       = Spring;
                shakeComp.Attenuation  = Attenuation;
                shakeComp.ExistTime    = LifeTime;
                shakeComp.GravityMode  = GravityMode;
                shakeComp.InitialSpeed = initialSpeed;
                shakeComp.Gravity      = gravity;
                shakeComp.StartShake();
            }
        }