mirror of
https://github.com/BlackMATov/unity-iso-tools.git
synced 2025-12-15 01:12:05 +07:00
prefab bug fix!
This commit is contained in:
@@ -292,8 +292,10 @@ namespace IsoTools {
|
||||
}
|
||||
|
||||
void OnValidate() {
|
||||
size = _size;
|
||||
position = _position;
|
||||
if ( gameObject.activeInHierarchy ) {
|
||||
size = _size;
|
||||
position = _position;
|
||||
}
|
||||
}
|
||||
|
||||
void OnDrawGizmos() {
|
||||
|
||||
Reference in New Issue
Block a user