Esempio n. 1
0
        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;
        }
Esempio n. 2
0
 public AvatarMovementContrl(AvatarMovementPlugin plugin) : this()
 {
     mPlugin = plugin;
 }