I writed same as a script ;
function Start()
{
if(Input.GetKeyDown(KeyCode.E)); {
guiTexture.pixelInset.x =136.7;
guiTexture.pixelInset.y =274.13;
}
if(Input.GetKeyUp(KeyCode.E)); {
guiTexture.pixelInset.x =-253.26;
guiTexture.pixelInset.y =274.13;
}
}
But itβs erroring ;
Assets/_Scripts/CameraZoomAnimation.js(4,41): BCE0044: expecting :, found β=β.
Sorry for bad English.