C# 클래스 Assets.Environment.Levers.LeverExample.Scripts.LeverPulls

상속: UnityEngine.MonoBehaviour, IInteractable
파일 보기 프로젝트 열기: veselin-/Team4BabelGame

공개 프로퍼티들

프로퍼티 타입 설명
PlayerPos UnityEngine.GameObject
SecForLever float
Timelimit bool
leverpulls int

공개 메소드들

메소드 설명
CanThisBeInteractedWith ( GameObject pickup ) : bool
HasBeenActivated ( ) : bool
Interact ( GameObject pickup ) : GameObject
InteractPosition ( Vector3 ai ) : Vector3

비공개 메소드들

메소드 설명
ChangeColor ( ) : IEnumerator

메소드 상세

CanThisBeInteractedWith() 공개 메소드

public CanThisBeInteractedWith ( GameObject pickup ) : bool
pickup UnityEngine.GameObject
리턴 bool

HasBeenActivated() 공개 메소드

public HasBeenActivated ( ) : bool
리턴 bool

Interact() 공개 메소드

public Interact ( GameObject pickup ) : GameObject
pickup UnityEngine.GameObject
리턴 UnityEngine.GameObject

InteractPosition() 공개 메소드

public InteractPosition ( Vector3 ai ) : Vector3
ai UnityEngine.Vector3
리턴 UnityEngine.Vector3

프로퍼티 상세

PlayerPos 공개적으로 프로퍼티

public GameObject,UnityEngine PlayerPos
리턴 UnityEngine.GameObject

SecForLever 공개적으로 프로퍼티

public float SecForLever
리턴 float

Timelimit 공개적으로 프로퍼티

public bool Timelimit
리턴 bool

leverpulls 공개적으로 정적으로 프로퍼티

public static int leverpulls
리턴 int