C# Class Assets.Environment.Braizer.Scripts.Braizer

Inheritance: UnityEngine.MonoBehaviour, IInteractable
Datei anzeigen Open project: veselin-/Team4BabelGame

Public Properties

Property Type Description
InteractPoint UnityEngine.GameObject[]
StartLighted bool
StickPrefab UnityEngine.GameObject
TorchPrefab UnityEngine.GameObject

Public Methods

Method Description
Awake ( ) : void
CanThisBeInteractedWith ( GameObject pickup ) : bool
HasBeenActivated ( ) : bool
Interact ( GameObject pickup ) : GameObject

Private Methods

Method Description
IInteractable ( Vector3 ai ) : Vector3

Method Details

Awake() public method

public Awake ( ) : void
return void

CanThisBeInteractedWith() public method

public CanThisBeInteractedWith ( GameObject pickup ) : bool
pickup UnityEngine.GameObject
return bool

HasBeenActivated() public method

public HasBeenActivated ( ) : bool
return bool

Interact() public method

public Interact ( GameObject pickup ) : GameObject
pickup UnityEngine.GameObject
return UnityEngine.GameObject

Property Details

InteractPoint public_oe property

public GameObject[],UnityEngine InteractPoint
return UnityEngine.GameObject[]

StartLighted public_oe property

public bool StartLighted
return bool

StickPrefab public_oe property

public GameObject,UnityEngine StickPrefab
return UnityEngine.GameObject

TorchPrefab public_oe property

public GameObject,UnityEngine TorchPrefab
return UnityEngine.GameObject