mirror of
https://github.com/BlackMATov/unity-iso-tools.git
synced 2025-12-13 06:59:46 +07:00
drop older unity versions
This commit is contained in:
@@ -125,7 +125,6 @@ namespace IsoTools.Physics {
|
||||
}
|
||||
}
|
||||
|
||||
#if UNITY_5_4_OR_NEWER
|
||||
public int solverIterations {
|
||||
get { return realRigidbody ? realRigidbody.solverIterations : 0; }
|
||||
set {
|
||||
@@ -143,25 +142,6 @@ namespace IsoTools.Physics {
|
||||
}
|
||||
}
|
||||
}
|
||||
#else
|
||||
public int solverIterationCount {
|
||||
get { return realRigidbody ? realRigidbody.solverIterationCount : 0; }
|
||||
set {
|
||||
if ( realRigidbody ) {
|
||||
realRigidbody.solverIterationCount = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public int solverVelocityIterationCount {
|
||||
get { return realRigidbody ? realRigidbody.solverVelocityIterationCount : 0; }
|
||||
set {
|
||||
if ( realRigidbody ) {
|
||||
realRigidbody.solverVelocityIterationCount = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public Vector3 velocity {
|
||||
get { return realRigidbody ? realRigidbody.velocity : Vector3.zero; }
|
||||
|
||||
@@ -22,7 +22,7 @@ Make 2.5D isometric game easy!
|
||||
* Physics support! (Colliders, Rigidbodies, Trigger and Collision events)
|
||||
* Full PlayMaker support.
|
||||
|
||||
Supports Unity 5.3 and newer, both Personal and Pro. Full C# source code included.
|
||||
Supports Unity 5.5 and newer, both Personal and Pro. Full C# source code included.
|
||||
|
||||
Leave your rating for this Asset. It is very important for me and the development of the project :) Thank you!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user