示例#1
0
 private void Starfighter_OnAccelerationResetLocalPositionZChanged(object sender, AccelerationResetLocalPositionZChangedEventArgs e)
 {
     // TODO needed?
     //Starfighter o = (Starfighter)sender;
     //float starfighterDeltaZ = o.transform.localPosition.z - e.prevLocalPositionZ;
     //transform.position -= starfighterDeltaZ * Vector3.forward;
 }
示例#2
0
 protected virtual void OnAccelerationResetLocalPositionZChanged(AccelerationResetLocalPositionZChangedEventArgs e)
 {
     accelerationResetLocalPositionZChanged(this, e);
 }