void ResetQueries(ProxyForces vf) { m_LatestObject = vf; m_Alignments.Clear(); m_Regions.Clear(); if (vf) { m_Alignments.AddRange(vf.GetComponents <ProxyAlignmentForce>()); m_Regions.AddRange(vf.GetComponents <ProxyRegionForceBase>()); } }
public void CustomForcesHandles(ProxyForces vf) { if (vf != m_LatestObject) { ResetQueries(vf); } if (vf) { CustomDrawGizmosSelected(); } }
public static bool IsApplicableToTransform(Transform t) { return(!ProxyForces.IsForceRegion(t)); }