C# Class KillingGame.CrimeScene.ItemButton

Inheritance: UnityEngine.MonoBehaviour
Show file 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 property

public GameObject backGround
return GameObject

buttonTrans public property

public Transform buttonTrans
return Transform

spriteRenderer public property

public SpriteRenderer spriteRenderer
return SpriteRenderer

target public property

public CrimeObject target
return CrimeObject