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
ファイルを表示 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_oe property

public RectTransform,UnityEngine darknessImage
return UnityEngine.RectTransform

objectToFollow public_oe property

public Transform objectToFollow
return Transform