You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			20 lines
		
	
	
		
			392 B
		
	
	
	
		
			C#
		
	
			
		
		
	
	
			20 lines
		
	
	
		
			392 B
		
	
	
	
		
			C#
		
	
using UnityEngine;
 | 
						|
using UnityEditor;
 | 
						|
using System.Collections;
 | 
						|
using System;
 | 
						|
 | 
						|
namespace RootMotion.FinalIK {
 | 
						|
 | 
						|
	/*
 | 
						|
	 * Contains helper methods for managing IKSolver's fields.
 | 
						|
	 * */
 | 
						|
	public class IKSolverInspector: Inspector {
 | 
						|
 | 
						|
		public static float GetHandleSize(Vector3 position) {
 | 
						|
			float s = HandleUtility.GetHandleSize(position) * 0.1f;
 | 
						|
			return Mathf.Lerp(s, 0.025f, 0.2f);
 | 
						|
		}
 | 
						|
 | 
						|
	}
 | 
						|
}
 |