C# Class SpecialActions

Inheritance: MonoBehaviour
Afficher le fichier Open project: imann24/cs327-bestmobilegameever Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
DoExtendedAction ( ) : void
LoadDemoEnd ( ) : IEnumerator
Update ( ) : void

Method Details

Awake() public méthode

public Awake ( ) : void
Résultat void

ChangeSprite() public méthode

public ChangeSprite ( Sprite sprite ) : void
sprite Sprite
Résultat void

CreateObject() public méthode

public CreateObject ( GameObject obj, Vector2 pos ) : void
obj GameObject
pos Vector2
Résultat void

DoSpecialAction() public méthode

public DoSpecialAction ( string actionTag ) : void
actionTag string
Résultat void

DoSpecialActions() public méthode

public DoSpecialActions ( List actionList ) : void
actionList List
Résultat void

GetPosition() public méthode

public GetPosition ( ) : Vector3
Résultat Vector3

Move() public méthode

public Move ( GameObject obj, Vector3 pos, float speed = 2, bool useNavMesh = false ) : void
obj GameObject
pos Vector3
speed float
useNavMesh bool
Résultat void

NextInteraction() public méthode

public NextInteraction ( string name, Interactable, interactor = null, bool forceSuppressMovement = false, bool forceIgnoreDistance = false ) : void
name string
interactor Interactable,
forceSuppressMovement bool
forceIgnoreDistance bool
Résultat void

PlaySound() public méthode

public PlaySound ( ) : void
Résultat void