C# Class DarknessFollow, angrygoats

Purpose: Used for the Darkness level to make the dark image follow the player. Issue: The size of the "vision" does not scale well with the screen size.
Inheritance: MonoBehaviour
Show file Open project: dulb640/angrygoats

Public Properties

Property Type Description
darknessImage UnityEngine.RectTransform
objectToFollow Transform

Public Methods

Method Description
Update ( ) : void

Method Details

Update() public method

public Update ( ) : void
return void

Property Details

darknessImage public property

public RectTransform,UnityEngine darknessImage
return UnityEngine.RectTransform

objectToFollow public property

public Transform objectToFollow
return Transform