void OnDrawGizmosSelected() { var iso_object = GetComponent<IsoObject>(); if ( iso_object && iso_object.isoWorld ) { IsoUtils.DrawCube( iso_object.isoWorld, iso_object.position + offset, size, Color.green, Vector3.zero); } }
void OnDrawGizmosSelected() { var iso_object = GetComponent<IsoObject>(); if ( iso_object && iso_object.isoWorld ) { IsoUtils.DrawCube( iso_object.isoWorld, iso_object.position + offset, size, Color.blue, incline); } }
void OnDrawGizmos() { if ( isShowBounds && isoWorld ) { IsoUtils.DrawCube(isoWorld, position + size * 0.5f, size, Color.red, Vector3.zero); } }