Sprite Factory

ReadMe
Release Notes
Overview
Using the Editor
Upgrading

Concepts
Sprites
Master Sprites
Sprite Groups
Colliders
Locators
Material Sets
SpriteUpdater
SpriteCamera

Advanced
Working in Multiple Projects

Classes
Runtime Classes

Videos
Overview
Creating Sprites
Sprite Inspector
Frame Events
Collision System
Locator System
Material Sets

Links
Sprite Factory Site
Web Documentation
Support
Contact

SpriteFactory.SpriteCollider.CollisionData

Struct

Contains information about the collision.

Properties

       
Name       Description
spriteColliderName   string   The name of the Collider Set on this Sprite that collided. (Read-only)
spriteColliderId   int   The id of the Collider Set on this Sprite that collided. (Read-only)
spriteColliderTag   string   The tag of the Collider Set on this Sprite that collided. (Read-only)
spriteColliderGroupName   string   The name of the Collider Group that contains the collider on this Sprite that collided. (Read-only)
objectValue   object   An object containing a collision or collider. Type depends on message sent from SpriteCollider. (Read-only)
collisionType   CollisionType   The type of this collision (Collider, Trigger, etc.). (Read-only)
is2D   bool   True = colliders are 2D. False = colliders are 3D. (Read-only)
otherSprite   Sprite   The other Sprite that collided with this Sprite. (Read-only)
otherColliderGameObject   GameObject   The GameObject of the other collider that collided with this Sprite. (Read-only)
 

Functions

   
Name   Description
GetCollider   Get the collider cast to a specific type.