示例#1
0
        public GraphNode GetRandCircleNode(Vector3 pos, float radio)
        {
            var node = GetSafeNode(RandUtil.RandCirclePoint(pos, RandUtil.Range(radio, radio * 1.5f)));

            return(node);
        }
示例#2
0
 protected override void StopMove()
 {
     base.StopMove();
     _animator.CrossFade("Idle" + RandUtil.RandInt(0, 4), 0.1f, 0, RandUtil.Range(0.0f, 0.9f));
 }