Flying Piggy 2D Runner Kit  1.0
Complete 2D runner template for Unity
 All Classes Files Functions Variables Enumerations Enumerator Properties
ItemSet Class Reference
Inheritance diagram for ItemSet:

Public Member Functions

void Initialize ()
 
void Scroll (float speed)
 
void Reset ()
 

Properties

List< ItemItems [get]
 
Vector3 StartPosition [get]
 

Detailed Description

Hold a list of items.

Member Function Documentation

void ItemSet.Initialize ( )

Remember initial position of the item set

void ItemSet.Reset ( )

Reset position of the item set and reset all child items. Hide the item set.

void ItemSet.Scroll ( float  speed)

Scroll item set from right to left

Property Documentation

List<Item> ItemSet.Items
get

List of child items

Vector3 ItemSet.StartPosition
get

Initial position of the item set


The documentation for this class was generated from the following file: