drop older unity versions

This commit is contained in:
2017-02-18 03:02:28 +07:00
parent 9eaf2733dc
commit 5a68df63b2
3 changed files with 10 additions and 22 deletions

View File

@@ -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; }

View File

@@ -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!