fBaseXtensions.Game.Hero.ActiveHero.positionChangedHandler C# (CSharp) Method

positionChangedHandler() private method

private positionChangedHandler ( System.Vector3 position ) : void
position System.Vector3
return void
        private void positionChangedHandler(Vector3 position)
        {
            //update reference
            currentPosition = position;

            //raise event
            if (OnPositionChanged != null)
                OnPositionChanged(position);
        }