problem in rotation while instantiating

I am instantiating a prefab which is actually a model and it looks good when it is rotated 180 degree on y axis but when I am instantiating it by writing the following code :

LifeUp tempLifeUp = Instantiate(lifeUp, ballPosition, Quaternion.identity) as LifeUp;

I wanted to know how can I rotate it 180 degree on y axis.because quaternion.identity returns no rotation.

please help me

Instead of using Quaternion.identity, you can use the .Euler() function to supply an euler angle to the quaternion:

LifeUp tempLifeUp = Instantiate(lifeUp, ballPosition, Quaternion.Euler(0.0f, 180.0f, 0.0f)) as LifeUp;