C# Class KillingGame.CrimeScene.ItemButton

Inheritance: UnityEngine.MonoBehaviour
Datei anzeigen Open project: SNUGDC/Killing-Game

Public Properties

Property Type Description
backGround GameObject
buttonTrans Transform
spriteRenderer SpriteRenderer
target CrimeObject

Public Methods

Method Description
OnMouseDown ( ) : void
SetInactive ( ) : void
SetTarget ( CrimeObject newTarget ) : void

Method Details

OnMouseDown() public method

public OnMouseDown ( ) : void
return void

SetInactive() public method

public SetInactive ( ) : void
return void

SetTarget() public method

public SetTarget ( CrimeObject newTarget ) : void
newTarget CrimeObject
return void

Property Details

backGround public_oe property

public GameObject backGround
return GameObject

buttonTrans public_oe property

public Transform buttonTrans
return Transform

spriteRenderer public_oe property

public SpriteRenderer spriteRenderer
return SpriteRenderer

target public_oe property

public CrimeObject target
return CrimeObject