del disappear shader from target animation
This commit is contained in:
@@ -10,7 +10,6 @@ public class DissapearShader : MonoBehaviour
|
||||
private float m_InitalHeight;
|
||||
void Awake(){
|
||||
m_InitalHeight = this.transform.position.y;
|
||||
Debug.Log(m_InitalHeight);
|
||||
}
|
||||
void Update(){
|
||||
float value = Mathf.Clamp( Remap(this.transform.position.y, m_HeightThresholdMin, m_HeightThresholdMax, 1, 0), 0, 1 );
|
||||
|
||||
Reference in New Issue
Block a user