Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
DarknessFollow
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