Esempio n. 1
0
	void Awake()
	{
		if ( parent == null )
		if (transform.parent != null )
			parent = transform.parent.GetComponent<Petal3D>();
        WindSense *= Random.Range(0.5f, 2f);
	}
Esempio n. 2
0
 void Awake()
 {
     if (parent == null)
     {
         if (transform.parent != null)
         {
             parent = transform.parent.GetComponent <Petal3D>();
         }
     }
     WindSense *= Random.Range(0.5f, 2f);
 }