Adventure Creator 1.84.3
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2024
Loading...
Searching...
No Matches
AC.SpriteDirectionData.SpriteDirection Struct Reference

Public Member Functions

 SpriteDirection (string suffix, float angle)
 SpriteDirection (string suffix, float angle, float maxAngle)

Public Attributes

string suffix
float angle
float maxAngle

Detailed Description

A data container for a direction that a sprite can face

Member Data Documentation

◆ angle

float AC.SpriteDirectionData.SpriteDirection.angle

The angle that the direction points in

◆ maxAngle

float AC.SpriteDirectionData.SpriteDirection.maxAngle

The maximum value that a given angle can be and still be valid for this direction

◆ suffix

string AC.SpriteDirectionData.SpriteDirection.suffix

The suffix (i.e. "D") for the direction