C# Class MovingFloor, MazeToddler

Inheritance: Switchable
Datei anzeigen Open project: Nexters/MazeToddler Class Usage Examples

Public Properties

Property Type Description
leftDoor GameObject
rightDoor GameObject
speed float

Public Methods

Method Description
Awake ( ) : void
CloseDoors ( ) : void
CloseDoorsAndMove ( ) : void
OnTriggerEnter2D ( Collider2D col ) : void
OpenLeftDoor ( ) : void
OpenRightDoor ( ) : void
ReachedLeft ( ) : void
ReachedRight ( ) : void
Update ( ) : void

Private Methods

Method Description
ToLeft ( ) : IEnumerator
ToRight ( ) : IEnumerator

Method Details

Awake() public method

public Awake ( ) : void
return void

CloseDoors() public method

public CloseDoors ( ) : void
return void

CloseDoorsAndMove() public method

public CloseDoorsAndMove ( ) : void
return void

OnTriggerEnter2D() public method

public OnTriggerEnter2D ( Collider2D col ) : void
col UnityEngine.Collider2D
return void

OpenLeftDoor() public method

public OpenLeftDoor ( ) : void
return void

OpenRightDoor() public method

public OpenRightDoor ( ) : void
return void

ReachedLeft() public method

public ReachedLeft ( ) : void
return void

ReachedRight() public method

public ReachedRight ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

leftDoor public_oe property

public GameObject leftDoor
return GameObject

rightDoor public_oe property

public GameObject rightDoor
return GameObject

speed public_oe property

public float speed
return float