mirror of
https://github.com/BlackMATov/unity-iso-tools.git
synced 2025-12-15 09:16:08 +07:00
gizmos properties to isoworld
This commit is contained in:
@@ -310,6 +310,31 @@ namespace IsoTools {
|
||||
return IsoUtils.Vec3Floor(MouseIsoPosition(camera, iso_z));
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------
|
||||
//
|
||||
// For editor
|
||||
//
|
||||
// ---------------------------------------------------------------------
|
||||
|
||||
#if UNITY_EDITOR
|
||||
[Header("Editor Only")]
|
||||
[SerializeField] bool _showIsoBounds = false;
|
||||
public bool isShowIsoBounds {
|
||||
get { return _showIsoBounds; }
|
||||
set { _showIsoBounds = value; }
|
||||
}
|
||||
[SerializeField] bool _showScreenBounds = false;
|
||||
public bool isShowScreenBounds {
|
||||
get { return _showScreenBounds; }
|
||||
set { _showScreenBounds = value; }
|
||||
}
|
||||
[SerializeField] bool _showDepends = false;
|
||||
public bool isShowDepends {
|
||||
get { return _showDepends; }
|
||||
set { _showDepends = value; }
|
||||
}
|
||||
#endif
|
||||
|
||||
// ---------------------------------------------------------------------
|
||||
//
|
||||
// Internal
|
||||
|
||||
Reference in New Issue
Block a user