Twilight Princess
Remastered version of the GameCube game
Loading...
Searching...
No Matches
HoverIndicator Class Reference
+ Inheritance diagram for HoverIndicator:
+ Collaboration diagram for HoverIndicator:

Public Member Functions

void OnPointerEnter (PointerEventData eventData)
 
void OnPointerExit (PointerEventData eventData)
 
void OnPointerClick (PointerEventData eventData)
 

Public Attributes

float cornerSize = 50f
 
float hoverDistance = 10f
 
float hoverDuration = 0.5f
 
float subtractWidth = 0
 
float subtractHeight = 0
 
Vector2 centerOffset = Vector2.zero
 
Vector2 imageOffset = Vector2.zero
 
bool ShowCorner = true
 
bool Scale = true
 
float ScaleValue = .1f
 
bool Sound = false
 
AudioClip HoverSound
 
AudioClip ClickSound
 

Static Public Attributes

static Sprite cornerSprite = null
 

Private Member Functions

void Start ()
 
void InitializeCorner ()
 

Private Attributes

GameObject cornerParent
 
GameObject[] corners = new GameObject[4]
 
float defaultScale
 
AudioSource _source
 

Member Function Documentation

◆ InitializeCorner()

void HoverIndicator.InitializeCorner ( )
private

◆ OnPointerClick()

void HoverIndicator.OnPointerClick ( PointerEventData eventData)

◆ OnPointerEnter()

void HoverIndicator.OnPointerEnter ( PointerEventData eventData)

◆ OnPointerExit()

void HoverIndicator.OnPointerExit ( PointerEventData eventData)

◆ Start()

void HoverIndicator.Start ( )
private

Member Data Documentation

◆ _source

AudioSource HoverIndicator._source
private

◆ centerOffset

Vector2 HoverIndicator.centerOffset = Vector2.zero

◆ ClickSound

AudioClip HoverIndicator.ClickSound

◆ cornerParent

GameObject HoverIndicator.cornerParent
private

◆ corners

GameObject [] HoverIndicator.corners = new GameObject[4]
private

◆ cornerSize

float HoverIndicator.cornerSize = 50f

◆ cornerSprite

Sprite HoverIndicator.cornerSprite = null
static

◆ defaultScale

float HoverIndicator.defaultScale
private

◆ hoverDistance

float HoverIndicator.hoverDistance = 10f

◆ hoverDuration

float HoverIndicator.hoverDuration = 0.5f

◆ HoverSound

AudioClip HoverIndicator.HoverSound

◆ imageOffset

Vector2 HoverIndicator.imageOffset = Vector2.zero

◆ Scale

bool HoverIndicator.Scale = true

◆ ScaleValue

float HoverIndicator.ScaleValue = .1f

◆ ShowCorner

bool HoverIndicator.ShowCorner = true

◆ Sound

bool HoverIndicator.Sound = false

◆ subtractHeight

float HoverIndicator.subtractHeight = 0

◆ subtractWidth

float HoverIndicator.subtractWidth = 0

The documentation for this class was generated from the following file: