C# Class EventInteraction, RPGQuest

Inheritance: BaseInteraction
Show file Open project: hughrogers/RPGQuest Class Usage Examples

Public Properties

Property Type Description
actor Transform[]
audioClip UnityEngine.AudioClip[]
cam Transform
eventFile string
eventStarted bool
fileOk bool
gameEvent GameEvent,
prefab GameObject[]
timeAfter float
timeBefore float
turnToEvent bool
turnToPlayer bool
waypoint Transform[]

Public Methods

Method Description
Awake ( ) : void
DoTurns ( ) : void
DropInteract ( ChoiceContent, drop ) : bool
EventFinished ( ) : void
GetEventFile ( ) : string
Interact ( ) : bool
LoadEvent ( ) : void
OnDrawGizmos ( ) : void
OnMouseUp ( ) : void
OnTriggerEnter ( Collider other ) : void
OnTriggerExit ( Collider other ) : void
Start ( ) : void
StartEvent ( ) : void
TouchInteract ( ) : void
Update ( ) : void

Private Methods

Method Description
CheckAutoStart ( ) : void
CheckAutoStart2 ( ) : IEnumerator
EventFinished2 ( ) : IEnumerator
StartEvent2 ( ) : IEnumerator

Method Details

Awake() public method

public Awake ( ) : void
return void

DoTurns() public method

public DoTurns ( ) : void
return void

DropInteract() public method

public DropInteract ( ChoiceContent, drop ) : bool
drop ChoiceContent,
return bool

EventFinished() public method

public EventFinished ( ) : void
return void

GetEventFile() public method

public GetEventFile ( ) : string
return string

Interact() public method

public Interact ( ) : bool
return bool

LoadEvent() public method

public LoadEvent ( ) : void
return void

OnDrawGizmos() public method

public OnDrawGizmos ( ) : void
return void

OnMouseUp() public method

public OnMouseUp ( ) : void
return void

OnTriggerEnter() public method

public OnTriggerEnter ( Collider other ) : void
other Collider
return void

OnTriggerExit() public method

public OnTriggerExit ( Collider other ) : void
other Collider
return void

Start() public method

public Start ( ) : void
return void

StartEvent() public method

public StartEvent ( ) : void
return void

TouchInteract() public method

public TouchInteract ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

actor public property

public Transform[] actor
return Transform[]

audioClip public property

public AudioClip[],UnityEngine audioClip
return UnityEngine.AudioClip[]

cam public property

public Transform cam
return Transform

eventFile public property

public string eventFile
return string

eventStarted public property

public bool eventStarted
return bool

fileOk public property

public bool fileOk
return bool

gameEvent public property

public GameEvent, gameEvent
return GameEvent,

prefab public property

public GameObject[] prefab
return GameObject[]

timeAfter public property

public float timeAfter
return float

timeBefore public property

public float timeBefore
return float

turnToEvent public property

public bool turnToEvent
return bool

turnToPlayer public property

public bool turnToPlayer
return bool

waypoint public property

public Transform[] waypoint
return Transform[]