TilePlus Version 5
Unity3D Tilemap Extension
Loading...
Searching...
No Matches
TilePlus.TilemapParallax Class Reference

Simple Tilemap Parallax. More...

Inheritance diagram for TilePlus.TilemapParallax:
Collaboration diagram for TilePlus.TilemapParallax:

Public Attributes

string m_TargetName = "player"
 Follow Target. Used to find m_Target transform if m_Target is null.
Transform? m_Target
 Follow target.
bool m_ApplyX = true
 Apply parallax to X axis?
bool m_ApplyY = false
 Apply parallax to Y axis?
float m_ParallaxSpeed = 0.1f
 Relative parallax speed.

Detailed Description

Simple Tilemap Parallax.

Member Data Documentation

◆ m_ApplyX

bool TilePlus.TilemapParallax.m_ApplyX = true

Apply parallax to X axis?

◆ m_ApplyY

bool TilePlus.TilemapParallax.m_ApplyY = false

Apply parallax to Y axis?

◆ m_ParallaxSpeed

float TilePlus.TilemapParallax.m_ParallaxSpeed = 0.1f

Relative parallax speed.

◆ m_Target

Transform? TilePlus.TilemapParallax.m_Target

Follow target.

◆ m_TargetName

string TilePlus.TilemapParallax.m_TargetName = "player"

Follow Target. Used to find m_Target transform if m_Target is null.

Useful if at Start of game the m_Target transform isn't available (eg, prefab not spawned yet)


The documentation for this class was generated from the following file:
  • /Users/jms/Documents/Tpt_55/TPT55/Assets/Plugins/TilePlus/Runtime/MonoComponents/TilemapParallax.cs