C# 클래스 SpecialActions

상속: MonoBehaviour
파일 보기 프로젝트 열기: imann24/cs327-bestmobilegameever 1 사용 예제들

공개 메소드들

메소드 설명
Awake ( ) : void
ChangeSprite ( Sprite sprite ) : void
CreateObject ( GameObject obj, Vector2 pos ) : void
DoSpecialAction ( string actionTag ) : void
DoSpecialActions ( List actionList ) : void
GetPosition ( ) : Vector3
Move ( GameObject obj, Vector3 pos, float speed = 2, bool useNavMesh = false ) : void
NextInteraction ( string name, Interactable, interactor = null, bool forceSuppressMovement = false, bool forceIgnoreDistance = false ) : void
PlaySound ( ) : void

비공개 메소드들

메소드 설명
DoExtendedAction ( ) : void
LoadDemoEnd ( ) : IEnumerator
Update ( ) : void

메소드 상세

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

ChangeSprite() 공개 메소드

public ChangeSprite ( Sprite sprite ) : void
sprite Sprite
리턴 void

CreateObject() 공개 메소드

public CreateObject ( GameObject obj, Vector2 pos ) : void
obj GameObject
pos Vector2
리턴 void

DoSpecialAction() 공개 메소드

public DoSpecialAction ( string actionTag ) : void
actionTag string
리턴 void

DoSpecialActions() 공개 메소드

public DoSpecialActions ( List actionList ) : void
actionList List
리턴 void

GetPosition() 공개 메소드

public GetPosition ( ) : Vector3
리턴 Vector3

Move() 공개 메소드

public Move ( GameObject obj, Vector3 pos, float speed = 2, bool useNavMesh = false ) : void
obj GameObject
pos Vector3
speed float
useNavMesh bool
리턴 void

NextInteraction() 공개 메소드

public NextInteraction ( string name, Interactable, interactor = null, bool forceSuppressMovement = false, bool forceIgnoreDistance = false ) : void
name string
interactor Interactable,
forceSuppressMovement bool
forceIgnoreDistance bool
리턴 void

PlaySound() 공개 메소드

public PlaySound ( ) : void
리턴 void