protected virtual void OnDrawGizmosSelected() { if (SgtHelper.Enabled(this) == true) { var r0 = transform.lossyScale; SgtHelper.DrawSphere(transform.position, transform.right * r0.x, transform.up * r0.y, transform.forward * r0.z); } }
protected virtual void OnDrawGizmosSelected() { if (SgtHelper.Enabled(this) == true) { var r1 = InnerMeshRadius; var r2 = OuterRadius; SgtHelper.DrawSphere(transform.position, transform.right * transform.lossyScale.x * r1, transform.up * transform.lossyScale.y * r1, transform.forward * transform.lossyScale.z * r1); SgtHelper.DrawSphere(transform.position, transform.right * transform.lossyScale.x * r2, transform.up * transform.lossyScale.y * r2, transform.forward * transform.lossyScale.z * r2); } }