public AvatarMovementControl(AvatarMovementPlugin plugin) : this() { mPlugin = plugin; mConfig = mPlugin.Config as ExperimentalConfig; mPlugin.TargetChanged += new Action<string, Vector3>(mPlugin_TargetChanged); turnRatePanel.Value = (float) (mPlugin.Config as ExperimentalConfig).TurnRate; moveRatePanel.Value = (mPlugin.Config as ExperimentalConfig).MoveRate; distanceThresholdPanel.Value = (mPlugin.Config as ExperimentalConfig).DistanceThreshold; heightOffsetPanel.Value = (mPlugin.Config as ExperimentalConfig).HeightOffset; }
public AvatarMovementContrl(AvatarMovementPlugin plugin) : this() { mPlugin = plugin; }