C# Class SpecialActions

Inheritance: MonoBehaviour
Datei anzeigen Open project: imann24/cs327-bestmobilegameever Class Usage Examples

Public Methods

Method 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

Method Description
DoExtendedAction ( ) : void
LoadDemoEnd ( ) : IEnumerator
Update ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

ChangeSprite() public method

public ChangeSprite ( Sprite sprite ) : void
sprite Sprite
return void

CreateObject() public method

public CreateObject ( GameObject obj, Vector2 pos ) : void
obj GameObject
pos Vector2
return void

DoSpecialAction() public method

public DoSpecialAction ( string actionTag ) : void
actionTag string
return void

DoSpecialActions() public method

public DoSpecialActions ( List actionList ) : void
actionList List
return void

GetPosition() public method

public GetPosition ( ) : Vector3
return Vector3

Move() public method

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

NextInteraction() public method

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

PlaySound() public method

public PlaySound ( ) : void
return void