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

Inheritance: UnityEngine.MonoBehaviour, IInteractable
Afficher le fichier Open project: veselin-/Team4BabelGame

Méthodes publiques

Свойство Type Description
PlayerPos UnityEngine.GameObject
SecForLever float
Timelimit bool
leverpulls int

Méthodes publiques

Méthode Description
CanThisBeInteractedWith ( GameObject pickup ) : bool
HasBeenActivated ( ) : bool
Interact ( GameObject pickup ) : GameObject
InteractPosition ( Vector3 ai ) : Vector3

Private Methods

Méthode Description
ChangeColor ( ) : IEnumerator

Method Details

CanThisBeInteractedWith() public méthode

public CanThisBeInteractedWith ( GameObject pickup ) : bool
pickup UnityEngine.GameObject
Résultat bool

HasBeenActivated() public méthode

public HasBeenActivated ( ) : bool
Résultat bool

Interact() public méthode

public Interact ( GameObject pickup ) : GameObject
pickup UnityEngine.GameObject
Résultat UnityEngine.GameObject

InteractPosition() public méthode

public InteractPosition ( Vector3 ai ) : Vector3
ai UnityEngine.Vector3
Résultat UnityEngine.Vector3

Property Details

PlayerPos public_oe property

public GameObject,UnityEngine PlayerPos
Résultat UnityEngine.GameObject

SecForLever public_oe property

public float SecForLever
Résultat float

Timelimit public_oe property

public bool Timelimit
Résultat bool

leverpulls public_oe static_oe property

public static int leverpulls
Résultat int