WolfState.OwlHatRainState C# (CSharp) Method

OwlHatRainState() private method

private OwlHatRainState ( ) : void
return void
	void OwlHatRainState()
	{
		if (OwlWithoutHat [0].activeInHierarchy == true || OwlWithoutHat [1].activeInHierarchy == true) {
			getHat = true;
		} else if (OwlWithoutHat [0].activeInHierarchy == false && OwlWithoutHat [1].activeInHierarchy == false) 
		{
			getHat = false;
		}
		if (getHat == true && RainFlower.activeInHierarchy == true) {
			rainedHat = true;
		} else
		{
			rainedHat = false;
		}
	}