C# Class Assets.Environment.Levers.LeverExample.Scripts.LeverPulls

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

Public Properties

Property Type Description
PlayerPos UnityEngine.GameObject
SecForLever float
Timelimit bool
leverpulls int

Public Methods

Method Description
CanThisBeInteractedWith ( GameObject pickup ) : bool
HasBeenActivated ( ) : bool
Interact ( GameObject pickup ) : GameObject
InteractPosition ( Vector3 ai ) : Vector3

Private Methods

Method Description
ChangeColor ( ) : IEnumerator

Method Details

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

InteractPosition() public method

public InteractPosition ( Vector3 ai ) : Vector3
ai UnityEngine.Vector3
return UnityEngine.Vector3

Property Details

PlayerPos public_oe property

public GameObject,UnityEngine PlayerPos
return UnityEngine.GameObject

SecForLever public_oe property

public float SecForLever
return float

Timelimit public_oe property

public bool Timelimit
return bool

leverpulls public_oe static_oe property

public static int leverpulls
return int